jetpack_photon_image_is_local, false, compact( src, tag, images, index

jetpack_photon_image_is_local, false, compact( src, tag, images, index

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_photon_image_is_local, false, compact( src, tag, images, index') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-image-cdn/src/class-image-cdn.php line 526
    					 *   @type $src Image URL.
    					 *   @type tag Image tag (Image HTML output).
    					 * }
    					 */
    					apply_filters( 'jetpack_photon_image_is_local', false, compact( 'src', 'tag', 'images', 'index' ) )
    				) {
    					$attachment_id = (int) $attachment_id;
    					$attachment    = get_post( $attachment_id );
    
    					// Basic check on returned post object.
    					if ( is_object( $attachment ) && ! is_wp_error( $attachment ) && 'attachment' === $attachment->post_type ) {