big_image_size_threshold, 2560, $imagesize, $file, $attachment_id

big_image_size_threshold, 2560, $imagesize, $file, $attachment_id

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('big_image_size_threshold, 2560, $imagesize, $file, $attachment_id') is found 1 times:

  • /wp-admin/includes/image.php line 285
    	 * }
    	 * @param string $file          Full path to the uploaded image file.
    	 * @param int    $attachment_id Attachment post ID.
    	 */
    	$threshold = (int) apply_filters( 'big_image_size_threshold', 2560, $imagesize, $file, $attachment_id );
    
    	/*
    	 * If the original image's dimensions are over the threshold,
    	 * scale the image and use it as the "full" size.
    	 */
    	$scale_down = false;