jetpack_photon_domain, https://i0.wp.com, $image_url

jetpack_photon_domain, https://i0.wp.com, $image_url

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_photon_domain, https://i0.wp.com, $image_url') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-image-cdn/src/class-image-cdn-core.php line 221
    		 *
    		 * @param string https://i0.wp.com Domain used by Photon.
    		 * @param string $image_url URL of the image to be photonized.
    		 */
    		$photon_domain = apply_filters( 'jetpack_photon_domain', 'https://i0.wp.com', $image_url );
    		$photon_domain = trailingslashit( esc_url( $photon_domain ) );
    		$photon_url    = $photon_domain . $image_host_path;
    
    		/**
    		 * Add query strings to Photon URL.
    		 * By default, Photon doesn't support query strings so we ignore them.