WP Extended Search 2.2.1 has 2 actions and 12 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when WP Extended Search fires an action
add_action( 'pre_get_search_form', function() {
// Your code runs here.
}, 10, 1 );
// Change a value WP Extended Search is about to use
add_filter( 'get_search_form', function( $form ) {
// Change $form here.
return $form;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
get_search_form
filter/** * Follow the link for the documentation. */ apply_filters( 'get_search_form', $form ); -
pre_get_search_form
action/** * Follow the link for documentation. */ do_action( 'pre_get_search_form' ); -
widget_title
filter/** * This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ apply_filters( 'widget_title', $title, $instance, $this->id_base ); -
wp_es_terms_relation_type
filter/** * Filter the term relation type OR/AND. */ apply_filters( 'wp_es_terms_relation_type', null ); -
wpes_enabled
filter/** * Filter plugin's all action hooks to enabled or disabled. */ apply_filters( 'wpes_enabled', $enabled ); -
wpes_meta_keys
filter/** * Filter results of SQL query for meta keys. */ apply_filters( 'wpes_meta_keys', $meta_keys ); -
wpes_meta_keys_query
filter/** * Filter query for meta keys in admin options. */ apply_filters( 'wpes_meta_keys_query', "select DISTINCT meta_key from $wpdb->postmeta where meta_key NOT LIKE '\_%' ORDER BY meta_key ASC" ); -
wpes_post_types
filter/** * Filter post type array return by get_post_types function. */ apply_filters( 'wpes_post_types', get_post_types( $post_types_args, 'objects' ) ); -
wpes_post_types_args
filter/** * Filter post type arguments. */ apply_filters( 'wpes_post_types_args', array( 'show_ui' => true, 'public' => true, ) ); -
wpes_posts_search
filter/** * Filter search query return by plugin. */ apply_filters( 'wpes_posts_search', $search, $wp_query ); -
wpes_tax
filter/** * Filter taxonomy list return by get_taxonomies function. */ apply_filters( 'wpes_tax', get_taxonomies( $tax_args, 'objects' ) ); -
wpes_tax_args
filter/** * Filter taxonomies arguments. */ apply_filters( 'wpes_tax_args', array( 'show_ui' => true, 'public' => true, ) ); -
wpml_register_single_string
actiondo_action( 'wpml_register_single_string', $context, $str_name, $str_value ); -
wpml_translate_single_string
filterapply_filters( 'wpml_translate_single_string', $str_value, $context, $str_name, $lang );
Generated from WP Extended Search's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: