C:\xampp\htdocs\landing\wp-content\plugins\imagify\inc\3rd-party\amp\amp.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
defined
'ABSPATH' ) || die( 'Cheatin’ uh?' );

/**
 * Compatibility with AMP plugin from WordPress.com VIP.
 */
if ( function_exists'is_amp_endpoint' ) ) :

    
add_filter'imagify_allow_picture_tags_for_webp''imagify_amp_disable_picture_on_endpoint' );
    
/**
     * Do not use <picture> tags in AMP pages.
     *
     * @since  1.9
     * @author GrĂ©gory Viguier
     *
     * @param  bool $allow True to allow the use of <picture> tags (default). False to prevent their use.
     * @return bool
     */
    
function imagify_amp_disable_picture_on_endpoint$allow ) {
        return 
$allow && ! is_amp_endpoint();
    };

endif;
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586