Search placeholders

Using the epl_search_widget_fields_frontend filter you can adjust the placeholder text for the search widget and shortcode text fields.

Add the following filter to your custom plugin or theme functions file.

function my_custom_epl_search_placeholder($fields) {
	foreach($fields as &$field) {
        
		if($field['key'] == 'search_id'){
			$field['placeholder'] = 'My Custom Search ID Placeholder';
		}

		if($field['key'] == 'search_address'){
			$field['placeholder'] = 'My Custom Search Address Placeholder';
		}
	}
	return $fields;
}
add_filter( 'epl_search_widget_fields_frontend' , 'my_custom_epl_search_placeholder' );