MAS Brands for WooCommerce 1.1.0 has 4 actions and 6 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 MAS Brands for WooCommerce fires an action
add_action( 'mas_wc_brands_loaded', function() {
// Your code runs here.
}, 10, 1 );
// Change a value MAS Brands for WooCommerce is about to use
add_filter( 'mas_wc_brands_admin_localize_script_data', function( $value ) {
// Change $value here.
return $value;
}, 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
-
{$shortcode}_shortcode_tag
filterapply_filters( "{$shortcode}_shortcode_tag", $shortcode ); -
apply_filters( 'mas_wc_brands_admin_localize_script_data', array( 'media_title' => esc_html__( 'Choose an image', 'mas-wc-brands' ), 'media_btn_text' => esc_html__( 'Use image', 'mas-wc-brands' ), 'placeholder_img_src' => wc_placeholder_img_src() ) ); -
mas_wc_brands_loaded
actiondo_action( 'mas_wc_brands_loaded' ); -
apply_filters( 'mas_wc_brands_settings_fields', array( array( 'name' => esc_html__( 'Brands Settings', 'mas-wc-brands' ), 'type' => 'title','desc' => '', 'id' => 'brands_settings' ), array( 'title' => esc_html__( 'Brand Attribute', 'mas-wc-brands' ), 'desc' => esc_html__( 'Choose a product attribute that will be used as brand.', 'mas-wc-brands' ), 'id' => 'mas_wc_brands_brand_taxonomy', 'class' => 'wc-enhanced-select', 'css' => 'min-width:30... ); -
apply_filters( 'mas_wcbr_brand_thumbnail_size', 'brand-thumb' ); -
widget_title
filterapply_filters( 'widget_title', $instance['title'], $instance, $this->woo_widget_idbase ); -
do_action( "woocommerce_shortcode_{$loop_name}_loop_no_results", $atts ); -
do_action( "woocommerce_shortcode_after_{$loop_name}_loop", $atts ); -
do_action( "woocommerce_shortcode_before_{$loop_name}_loop", $atts ); -
apply_filters( 'woocommerce_shortcode_products_query', $query_args, $atts, $loop_name );
Generated from MAS Brands for WooCommerce'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: