Changing search bar placeholder ONLY on the requests page

Hi! Is it possible to change the text for the search bar on the “Requests” page without impacting the text on the other pages? I know this won’t be possible on Loco Translate. Do any of you have some code that can just change the search bar text on the “Requests” page alone? Thank you!


If I understand you correctly, please try this PHP snippet:

	function( $form ) {
		if ( isset( $form['fields']['s'] ) ) {
			$form['fields']['s']['placeholder'] = 'custom text here';

		return $form;
1 Like

Thank you I really appreciate that, this is just what I was looking for!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.