Plugin Updates
This commit is contained in:
@@ -6,12 +6,11 @@ defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' );
|
||||
*/
|
||||
if ( function_exists( 'is_amp_endpoint' ) ) :
|
||||
|
||||
add_filter( 'imagify_allow_picture_tags_for_webp', 'imagify_amp_disable_picture_on_endpoint' );
|
||||
add_filter( 'imagify_allow_picture_tags_for_nextgen', 'imagify_amp_disable_picture_on_endpoint' );
|
||||
/**
|
||||
* Do not use <picture> tags in AMP pages.
|
||||
*
|
||||
* @since 1.9
|
||||
* @author Grégory Viguier
|
||||
* @since 1.9
|
||||
*
|
||||
* @param bool $allow True to allow the use of <picture> tags (default). False to prevent their use.
|
||||
* @return bool
|
||||
|
||||
Reference in New Issue
Block a user