Home » How to disable content analysis metabox
How to disable content analysis metabox

Overview

SiteSEO offers four methods to deactivate content analysis feature.

1. Hide the Content Analysis Metabox

Classic Editor
Edit a post, page, or post type. Open the Screen options (top right corner) and uncheck Content analysis.
Block Editor
Edit a post, click the 3 dots for the Options menu (top right). Choose Preferences, Panels tab, and uncheck Content analysis.

2. Block the Content Analysis Metabox

Define user roles with access to the content analysis metabox.
  •  Navigate to WordPress Dashboard -> SiteSEO -> Advanced page -> Security tab.
  • Choose roles under Content Analysis metabox.
  • Save changes. 
Note: This settings does not affect Administrators.

3. Global Disablement of Content Analysis Metabox

Remove the content analysis metabox for all users, post types, and term taxonomies.
  • Navigate to SiteSEO -> Advanced -> Appearance tab.
  • Check the Disable Content Analysis metabox option.

4. Hooks for Metabox Removal

Global Removal:
Copy and paste this snippet into your functions.php file or a must-use plugin:
add_filter('siteseo_metaboxe_content_analysis', '__return_false');
Removal by Post Type:
Add this function to your functions.php file or a must-use plugin:
function sp_metaboxe_content_analysis($siteseo_get_post_types) { 
    // Post types array, e.g., post and page, using array_flip to convert values to keys
    $siteseo_get_post_types = array_flip(array('post','page')); 
    return $siteseo_get_post_types; 
}
add_filter('siteseo_metaboxe_content_analysis', 'sp_metaboxe_content_analysis');
    Was this page helpful?
    Newsletter Subscription
    Subscribing you to the mailing list