Themify icon
eCommerce & WooCommerce

Themify hooks reference

  • By themifyme
  • v1.5.9
  • Updated

Themify 1.5.9 has 5 actions and 21 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 Themify fires an action
add_action( 'wpf_cpt_remove', function( $form ) {
	// Your code runs here.
}, 10, 1 );

// Change a value Themify is about to use
add_filter( 'widget_title', function( $empty, $instance, $id_base ) {
	// Change $empty here.
	return $empty;
}, 10, 3 );

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

  • widget_title

    filter
    includes/class-wpf-widget.php line 26
    /**
     * This filter is documented in wp-includes/default-widgets.php
     */
    apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base );
  • includes/class-wpf-utils.php line 472
    /**
     * Whether $query should be filtered by WPF or not.
     */
    apply_filters( 'wpf_is_product_query', $is, $query );
  • includes/class-wpf-utils.php line 1018 · used in 2 places
    apply_filters( 'wpf_and_facet_term_counts_over_budget', null, $facet_type, $taxonomy, $term_ids, isset( $bucket['found'] ) ? (int) $bucket['found'] : 0, $budget, $normalized, $form );
  • includes/class-wpf-form.php line 1118 · used in 2 places
    apply_filters( 'wpf_hide_onsale_when_not_in_faceted_pool', true );
  • public/class-wpf-public.php line 639
    apply_filters( 'loop_shop_per_page', get_option( 'posts_per_page' ) );
  • includes/class-wpf-form.php line 1297
    apply_filters( 'wpf_and_facet_counts_enabled', true );
  • includes/class-wpf-form.php line 1304
    apply_filters( 'wpf_and_facet_counts_map', WPF_Utils::get_and_facet_term_counts( wp_unslash( $_REQUEST ), $form_for_facets, $type, $taxonomy, $term_ids_plain ), wp_unslash( $_REQUEST ), $form_for_facets, $type, $taxonomy, $categories );
  • includes/class-wpf-form.php line 1242
    apply_filters( 'wpf_and_facet_frontend_enabled', true );
  • includes/class-wpf-form.php line 1389
    apply_filters( 'wpf_and_facet_hide_unreachable_terms', true );
  • includes/class-wpf-utils.php line 1104
    apply_filters( 'wpf_and_facet_id_batch_size', 650 );
  • includes/class-wpf-utils.php line 972
    apply_filters( 'wpf_and_facet_max_matching_products', 12000 );
  • includes/class-wpf-utils.php line 996
    apply_filters( 'wpf_and_facet_strip_current_field', 'and' !== $field_logic, $facet_type, $field_logic, $form, $request );
  • includes/class-wpf-form.php line 1270
    apply_filters( 'wpf_category_facet_restrict_to_archive_descendants', true, $args, $data );
  • includes/class-wpf-list.php line 456
    do_action( 'wpf_cpt_remove', $form );
  • includes/class-wpf-deactivator.php line 23
    do_action( 'wpf_deactivated' );
  • public/class-wpf-public.php line 617
    apply_filters( 'wpf_faceted_price_bounds', $out, $raw_request, $form );
  • public/class-wpf-public.php line 730
    apply_filters( 'wpf_filter_by_price', $val );
  • wpf_loaded

    action
    includes/class-wpf.php line 105
    do_action( 'wpf_loaded' );
  • includes/class-wpf-form.php line 1037
    apply_filters( 'wpf_min_max_price', [ $min, $max ] );
  • includes/class-wpf-form.php line 832
    do_action( "wpf_public_template_{$type}", $module, $this->themplate_id, $template['data'], $sort_cmb[ $type ], $this->themplate_id, $request, $lang );
  • wpf_query

    filter
    public/class-wpf-public.php line 299
    apply_filters( 'wpf_query', $query_args );
  • includes/plugin-compat/themifyBuilderPro.php line 66
    apply_filters( 'wpf_tbp_archive_products_query', $query_args, $fields_args, $form );
  • includes/class-wpf-form.php line 369
    do_action( "wpf_template_{$type}", $this->themplate_id, $module );
  • includes/class-wpf-form.php line 420
    apply_filters( 'wpf_template_save', $data, $themplate_id );
  • includes/class-wpf-utils.php line 769
    apply_filters( 'wpf_use_woocommerce_filtered_counts', true );
  • includes/class-wpf-utils.php line 422
    apply_filters( 'wpml_object_id', $object_id, $type, false, $code );

Generated from Themify'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: