Perfect Brands for WooCommerce 3.6.16 has 11 actions and 43 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 Perfect Brands for WooCommerce fires an action
add_action( 'jetpack_activate_module', function( $module, $success ) {
// Your code runs here.
}, 10, 2 );
// Change a value Perfect Brands for WooCommerce is about to use
add_filter( 'jetpack_active_modules', function( $active ) {
// Change $active here.
return $active;
}, 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
-
/** * Fires when a specific module is activated. */ do_action( 'jetpack_activate_module', $module, $success ); -
/** * Fires when a module is activated. The dynamic part of the filter, $module, * is the module slug. */ do_action( "jetpack_activate_module_{$module}", $module ); -
/** * Allow filtering of the active modules. */ apply_filters( 'jetpack_active_modules', $active ); -
/** * Filter the admin script data. */ apply_filters( 'jetpack_admin_js_script_data', $data ); -
/** * Filters the value of the constant. */ apply_filters( 'jetpack_constant_default_value', null, $name ); -
/** * Fired after a module has been deactivated. */ do_action( 'jetpack_deactivate_module', $module, $success ); -
/** * Fires when a module is deactivated. The dynamic part of the filter, $module, * is the module slug. */ do_action( "jetpack_deactivate_module_{$module}", $module ); -
/** * Filters the array of modules available to be activated. */ apply_filters( 'jetpack_get_available_modules', $modules, $min_version, $max_version, $requires_connection, $requires_user_connection ); -
/** * Stand alone plugins need to use this filter to register the modules they * interact with. This will allow them to activate and deactivate these modules * even when Jetpack is not present. Note: Standalone plugins can only interact * with modules that also exist in the Jetpack plugin, otherwise they'll lose * the ability to control it if Jetpack is activated. */ apply_filters( 'jetpack_get_available_standalone_modules', array(), $requires_connection, $requires_user_connection ); -
/** * Filters the URL for a file passed through the get_file_url_for_environment * function. */ apply_filters( 'jetpack_get_file_for_environment', $url, $min_path, $non_min_path ); -
/** * Filter the returned data about a module. */ apply_filters( 'jetpack_get_module', $mod, $module, $file ); -
/** * Filters the path of a modules. */ apply_filters( 'jetpack_get_module_path', JETPACK__PLUGIN_DIR . "modules/$slug.php", $slug ); -
/** * Filters the i18n state data for use by Webpack bundles built with * `@automattic/i18n-loader-webpack-plugin`. */ apply_filters( 'jetpack_i18n_state', $data ); -
/** * Filters the is_coming_soon check. */ apply_filters( 'jetpack_is_coming_soon', $is_coming_soon ); -
/** * Filters is_development_site check. */ apply_filters( 'jetpack_is_development_site', $is_dev_site ); -
/** * Filter whether the current request is for accessing the frontend. */ apply_filters( 'jetpack_is_frontend', $is_frontend, $send_vary_headers ); -
/** * Filters in_safe_mode check. */ apply_filters( 'jetpack_is_in_safe_mode', $in_safe_mode ); -
/** * Filters is_local_site check. */ apply_filters( 'jetpack_is_local_site', $is_local ); -
/** * Filters the is_private_site check. */ apply_filters( 'jetpack_is_private_site', $is_private_site ); -
/** * Filters is_staging_site check. */ apply_filters( 'jetpack_is_staging_site', $is_staging ); -
/** * Filters the flags of known staging sites. */ apply_filters( 'jetpack_known_staging', $known_staging ); -
/** * Filters the feature array on a module. */ apply_filters( 'jetpack_module_feature', $mod['feature'], $module, $mod ); -
/** * Filters Jetpack's offline mode. */ apply_filters( 'jetpack_offline_mode', $offline_mode ); -
/** * Filters the site icon using Photon. */ apply_filters( 'jetpack_photon_url', get_site_icon_url(), array( 'w' => 64 ) ); -
/** * Fires before a module is activated. */ do_action( 'jetpack_pre_activate_module', $module, $exit, $redirect ); -
/** * Fires when a module is deactivated. */ do_action( 'jetpack_pre_deactivate_module', $module ); -
/** * Filter the public script data. */ apply_filters( 'jetpack_public_js_script_data', $data ); -
/** * Filter a term item returned from the API. */ apply_filters( "woocommerce_rest_prepare_{$this->taxonomy}", $response, $item, $request ); -
apply_filters( 'install_plugins_tabs', $tabs ); -
do_action( 'pwb_activation' ); -
apply_filters( 'pwb_admin_settings_fields', array() ); -
apply_filters( 'pwb_admin_settings_tabs', array() ); -
do_action( 'pwb_after_single_product_brands', $brands ); -
do_action( 'pwb_before_single_product_brands', $brands ); -
apply_filters( 'pwb_carousel_next', '>' ); -
apply_filters( 'pwb_carousel_prev', '<' ); -
do_action( 'pwb_deactivation' ); -
apply_filters( 'pwb_dropdown_placeholder', esc_html__( 'Brands', 'perfect-woocommerce-brands' ) ); -
apply_filters( 'pwb_html_before_brands_links', $before_brands_links ); -
do_action( 'pwb_init' ); -
apply_filters( 'pwb_product_tab_brand_logo_size', $image_size ); -
apply_filters( 'pwb_taxonomy_rewrite', $new_slug ); -
apply_filters( 'pwb_taxonomy_with_front', true ); -
apply_filters( 'pwb_text_before_brands_links', esc_html( _n( 'Brand', 'Brands', count( $brands ), 'perfect-woocommerce-brands' ) ), count( $brands ) ); -
apply_filters( 'pwb_widget_brand_filter', $result_brands_ordered ); -
apply_filters( 'the_content', $queried_object->description ); -
apply_filters( 'wc_pwb_admin_tab_archives_settings', array( 'section_title' => array( 'name' => __( 'Shop & Categories', 'perfect-woocommerce-brands' ), 'type' => 'title', 'desc' => '', 'id' => 'wc_pwb_admin_tab_section_title', ), array( 'name' => __( 'Show brands in loop', 'perfect-woocommerce-brands' ), 'type' => 'select', 'class' => 'pwb-admin-tab-field', 'desc' => __( 'Show brand logo (or name) in product loop', 'perfect-woocommerce-brands' )... ); -
apply_filters( 'wc_pwb_admin_tab_brand_pages_settings', array( 'section_title' => array( 'name' => __( 'Archives', 'perfect-woocommerce-brands' ), 'type' => 'title', 'desc' => '', 'id' => 'wc_pwb_admin_tab_section_title', ), array( 'name' => __( 'Show brand title', 'perfect-woocommerce-brands' ), 'type' => 'select', 'class' => 'pwb-admin-tab-field pwb-premium-field', 'default' => 'yes', 'desc' => __( 'Show brand title (if is set) on brand archive pa... ); -
apply_filters( 'wc_pwb_admin_tab_product_settings', array( 'section_title' => array( 'name' => __( 'General', 'perfect-woocommerce-brands' ), 'type' => 'title', 'desc' => '', 'id' => 'wc_pwb_admin_tab_section_title', ), array( 'name' => __( 'Slug', 'perfect-woocommerce-brands' ), 'type' => 'text', 'class' => 'pwb-admin-tab-field', 'desc' => __( 'Brands taxonomy slug', 'perfect-woocommerce-brands' ), 'desc_tip' => sprintf( __( 'Your brands URLs w... ); -
apply_filters( 'wc_pwb_admin_tab_settings', array( 'section_title' => array( 'name' => __( 'Products', 'perfect-woocommerce-brands' ), 'type' => 'title', 'desc' => '', 'id' => 'wc_pwb_admin_tab_section_title', ), array( 'name' => __( 'Products tab', 'perfect-woocommerce-brands' ), 'type' => 'checkbox', 'default' => 'yes', 'desc' => __( 'Show brand tab in single product page', 'perfect-woocommerce-brands' ), 'id' => 'wc_pwb_admin_tab_bran... ); -
apply_filters( 'wc_pwb_admin_tab_tools_settings', array( 'section_title' => array( 'name' => __( 'Tools', 'perfect-woocommerce-brands' ), 'type' => 'title', 'desc' => '', 'id' => 'wc_pwb_admin_tab_section_tools_title', ), array( 'name' => __( 'Import brands', 'perfect-woocommerce-brands' ), 'type' => 'select', 'class' => 'pwb-admin-tab-field', 'desc' => sprintf( __( 'Import brands from other brand plugin. <a href="%s" target="_blank">Click her... ); -
apply_filters( 'widget_title', $title ); -
apply_filters( 'woocommerce_product_brand_heading', esc_html__( 'Brand', 'perfect-woocommerce-brands' ) );
Generated from Perfect Brands for WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: