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

apply_filters('aioseo_seo_preview_disable') is found 1 times:

  • /app/Common/Standalone/SeoPreview.php line 43
    	 * @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 );
    	}