aioseo_seo_preview_disable

aioseo_seo_preview_disable

Hook Type: filter

See hook in core

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

apply_filters('aioseo_seo_preview_disable') is found 1 times:

  • /app/Common/Standalone/SeoPreview.php line 43
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    * @since 4.2.8
     */
    public function __construct() {
        // Allow users to disable SEO Preview.
        if ( apply_filters( 'aioseo_seo_preview_disable', false ) ) {
            return;
        }
     
        // Hook into `wp` in order to have access to the WP queried object.
        add_action( 'wp', [ $this, 'init' ], 20 );
    }