1. Home
  2. Documentations
  3. Developer Documentation
  4. Filters
  5. wp_travel_search_placeholder

wp_travel_search_placeholder

Filter Hook:

wp_travel_search_placeholder

Description: This filter hook is used to modify the placeholder in the search text box.

Example:

Replacing the placeholder text of the search text box of search section.

function wp_travel_child_search_placeholder_text(){

	return esc_html__( 'Ex: Trekking', 'wp-travel' );
}
add_filter('wp_travel_search_placeholder','wp_travel_child_search_placeholder_text');

How can we help?