jetpack_images_fit_image_url_override, $src, $width, $height

jetpack_images_fit_image_url_override, $src, $width, $height

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_images_fit_image_url_override, $src, $width, $height') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-post-media/src/class-images.php line 1042
    			 * @param string $src Image URL.
    			 * @param int $width Image width.
    			 * @param int $width Image height.
    			 */
    			return apply_filters( 'jetpack_images_fit_image_url_override', $src, $width, $height );
    		}
    
    		// If WPCOM hosted image use native transformations.
    		$img_host = wp_parse_url( $src, PHP_URL_HOST );
    		if ( $img_host && str_ends_with( $img_host, '.files.wordpress.com' ) ) {
    			return add_query_arg(