Rename filter in woocommerce_subcategory_thumbnail
The same filter is used here: fa30a38c58/templates/single-product/product-thumbnails.php (L51)
, but with a different default value.
This commit is contained in:
parent
33b12d70ee
commit
fc2e611d1e
|
@ -1677,7 +1677,7 @@ if ( ! function_exists( 'woocommerce_subcategory_thumbnail' ) ) {
|
|||
* @subpackage Loop
|
||||
*/
|
||||
function woocommerce_subcategory_thumbnail( $category ) {
|
||||
$small_thumbnail_size = apply_filters( 'single_product_small_thumbnail_size', 'shop_catalog' );
|
||||
$small_thumbnail_size = apply_filters( 'subcategory_archive_thumbnail_size', 'shop_catalog' );
|
||||
$dimensions = wc_get_image_size( $small_thumbnail_size );
|
||||
$thumbnail_id = get_woocommerce_term_meta( $category->term_id, 'thumbnail_id', true );
|
||||
|
||||
|
|
Loading…
Reference in New Issue