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.8.1.1

apply_filters('aioseo_is_amp_page') is found 1 times:

  • /app/Common/Traits/Helpers/ThirdParty.php line 735
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
        ! 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.
    if ( did_action( 'wp' ) ) {
        // Check for the "AMP" plugin.