WP Extended Search icon
eCommerce & WooCommerce

WP Extended Search hooks reference

  • By Sumit Singh
  • v2.2.1
  • Updated

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.

functions.phpyour child theme
// 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

  • includes/class-wpes-search-form.php line 168
    /**
     * Follow the link for the documentation.
     */
    apply_filters( 'get_search_form', $form );
  • includes/class-wpes-search-form.php line 127
    /**
     * Follow the link for documentation.
     */
    do_action( 'pre_get_search_form' );
  • widget_title

    filter
    includes/class-wpes-search-widget.php line 82
    /**
     * This filter is documented in wp-includes/widgets/class-wp-widget-pages.php
     */
    apply_filters( 'widget_title', $title, $instance, $this->id_base );
  • includes/class-wpes-core.php line 373
    /**
     * Filter the term relation type OR/AND.
     */
    apply_filters( 'wp_es_terms_relation_type', null );
  • wpes_enabled

    filter
    includes/class-wpes-core.php line 256
    /**
     * Filter plugin's all action hooks to enabled or disabled.
     */
    apply_filters( 'wpes_enabled', $enabled );
  • includes/admin/class-wpes-admin.php line 221
    /**
     * Filter results of SQL query for meta keys.
     */
    apply_filters( 'wpes_meta_keys', $meta_keys );
  • includes/admin/class-wpes-admin.php line 204
    /**
     * 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" );
  • includes/admin/class-wpes-admin.php line 478
    /**
     * Filter post type array return by get_post_types function.
     */
    apply_filters( 'wpes_post_types', get_post_types( $post_types_args, 'objects' ) );
  • includes/admin/class-wpes-admin.php line 464
    /**
     * Filter post type arguments.
     */
    apply_filters( 'wpes_post_types_args', array( 'show_ui' => true, 'public' => true, ) );
  • wpes_tax

    filter
    includes/admin/class-wpes-admin.php line 415
    /**
     * Filter taxonomy list return by get_taxonomies function.
     */
    apply_filters( 'wpes_tax', get_taxonomies( $tax_args, 'objects' ) );
  • wpes_tax_args

    filter
    includes/admin/class-wpes-admin.php line 401
    /**
     * Filter taxonomies arguments.
     */
    apply_filters( 'wpes_tax_args', array( 'show_ui' => true, 'public' => true, ) );
  • includes/integrations/class-wpes-wpml.php line 62
    do_action( 'wpml_register_single_string', $context, $str_name, $str_value );
  • includes/integrations/class-wpes-wpml.php line 65
    apply_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: