woocommerce_gallery_full_size

woocommerce_gallery_full_size

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_gallery_full_size') is found 2 times:

  • /includes/wc-product-functions.php line 795
    		$alt_text     = array_filter( $alt_text );
    		$props['alt'] = $alt_text ? reset( $alt_text ) : '';
    
    		// Large version.
    		$full_size           = apply_filters( 'woocommerce_gallery_full_size', apply_filters( 'woocommerce_product_thumbnails_large_size', 'full' ) );
    		$src                 = wp_get_attachment_image_src( $attachment_id, $full_size );
    		$props['full_src']   = $src[0];
    		$props['full_src_w'] = $src[1];
    		$props['full_src_h'] = $src[2];
    
    		// Gallery thumbnail.
    
  • /includes/wc-template-functions.php line 1598
    	$flexslider        = (bool) apply_filters( 'woocommerce_single_product_flexslider_enabled', get_theme_support( 'wc-product-gallery-slider' ) );
    	$gallery_thumbnail = wc_get_image_size( 'gallery_thumbnail' );
    	$thumbnail_size    = apply_filters( 'woocommerce_gallery_thumbnail_size', array( $gallery_thumbnail['width'], $gallery_thumbnail['height'] ) );
    	$image_size        = apply_filters( 'woocommerce_gallery_image_size', $flexslider || $main_image ? 'woocommerce_single' : $thumbnail_size );
    	$full_size         = apply_filters( 'woocommerce_gallery_full_size', apply_filters( 'woocommerce_product_thumbnails_large_size', 'full' ) );
    	$thumbnail_src     = wp_get_attachment_image_src( $attachment_id, $thumbnail_size );
    	$full_src          = wp_get_attachment_image_src( $attachment_id, $full_size );
    	$alt_text          = trim( wp_strip_all_tags( get_post_meta( $attachment_id, '_wp_attachment_image_alt', true ) ) );
    	$image             = wp_get_attachment_image(
    		$attachment_id,
    		$image_size,