woocommerce_brand_thumbnail_size filter-hookWC 9.4.0

Filter the brand's thumbnail size.

Usage

add_filter( 'woocommerce_brand_thumbnail_size', 'wp_kama_woocommerce_brand_thumbnail_size_filter' );

/**
 * Function for `woocommerce_brand_thumbnail_size` filter-hook.
 * 
 * @param string $size Brand's thumbnail size.
 *
 * @return string
 */
function wp_kama_woocommerce_brand_thumbnail_size_filter( $size ){

	// filter...
	return $size;
}
$size(string)
Brand's thumbnail size.

Changelog

Since 9.4.0 Introduced.

Where the hook is called

wc_get_brand_thumbnail_image()
woocommerce_brand_thumbnail_size
woocommerce/includes/wc-brands-functions.php 50
$size = apply_filters( 'woocommerce_brand_thumbnail_size', 'shop_catalog' );
woocommerce/templates/brands/widgets/brand-thumbnails-description.php 31
$thumbnail = wc_get_brand_thumbnail_url( $brand->term_id, apply_filters( 'woocommerce_brand_thumbnail_size', 'shop_catalog' ) );

Where the hook is used in WooCommerce

Usage not found.