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:
Caleb Burks 2016-05-21 10:23:35 -05:00
parent 33b12d70ee
commit fc2e611d1e
1 changed files with 1 additions and 1 deletions

View File

@ -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 );