Skip to content

Snippet: Disable WordPress SEO by Yoast Page Analysis

// Disable WordPress SEO by Yoast Page Analysis which seems to cause issues with the Visual Composer
function disable_wpseo_use_page_analysis() {
	return false;
}
add_filter( 'wpseo_use_page_analysis', 'disable_wpseo_use_page_analysis' );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top