aioseo_is_amp_page

aioseo_is_amp_page

Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.6.2

apply_filters('aioseo_is_amp_page') is found 1 times:

  • /app/Common/Traits/Helpers/ThirdParty.php line 650
    			! function_exists( 'ampforwp_is_amp_endpoint' ) &&
    			! function_exists( 'is_amp_wp' )
    		) {
    			// If none of the AMP plugin functions are found, return false and allow compatibility with custom implementations.
    			return apply_filters( 'aioseo_is_amp_page', false );
    		}
    
    		// AMP plugin requires the `wp` action to be called to function properly, otherwise, it will throw warnings.
    		// https://github.com/awesomemotive/aioseo/issues/6056
    		if ( did_action( 'wp' ) ) {
    			// Check for the "AMP" plugin.