Tips on Customizing WPSSO Core – Complete Schema Markup and Meta Tags

How to Hide WPSSO Core Admin Menus

function plt_hide_wpsso_menus() {
	//Hide "Users → Add Person".
	remove_submenu_page('users.php', 'wpsso-add-person');
	//Hide "Users → Profile SSO - Social and Search Optimization".
	remove_submenu_page('users.php', 'wpsso-your-sso');

	//Hide "SSO - Social and Search Optimization".
	remove_menu_page('wpsso-essential');
	//Hide "SSO - Social and Search Optimization → Essential Settings".
	remove_submenu_page('wpsso-essential', 'wpsso-essential');
	//Hide "SSO - Social and Search Optimization → General Settings".
	remove_submenu_page('wpsso-essential', 'wpsso-general');
	//Hide "SSO - Social and Search Optimization → Advanced Settings".
	remove_submenu_page('wpsso-essential', 'wpsso-advanced');
	//Hide "SSO - Social and Search Optimization → Premium Licenses".
	remove_submenu_page('wpsso-essential', 'wpsso-licenses');
	//Hide "SSO - Social and Search Optimization → Plugin Add-ons".
	remove_submenu_page('wpsso-essential', 'wpsso-addons');
	//Hide "SSO - Social and Search Optimization → Tools and Actions".
	remove_submenu_page('wpsso-essential', 'wpsso-tools');
	//Hide "SSO - Social and Search Optimization → Setup Guide".
	remove_submenu_page('wpsso-essential', 'wpsso-setup');
	//Hide "SSO - Social and Search Optimization → Troubleshooting".
	remove_submenu_page('wpsso-essential', 'wpsso-debug');
}

add_action('admin_menu', 'plt_hide_wpsso_menus', 11);

Where do I put this code?

How to Hide the "Document SSO" Meta Box

function plt_hide_wpsso_metaboxes() {
	$screen = get_current_screen();
	if ( !$screen ) {
		return;
	}

	//Hide the "Document SSO" meta box.
	remove_meta_box('wpsso_sso', $screen->id, 'normal');
}

add_action('add_meta_boxes', 'plt_hide_wpsso_metaboxes', 20);

How to Hide WPSSO Core Dashboard Widgets

function plt_hide_wpsso_dashboard_widgets() {
	$screen = get_current_screen();
	if ( !$screen ) {
		return;
	}

	//Remove the "WPSSO Help and Support" widget.
	remove_meta_box('wpsso-help-support', 'dashboard', 'normal');
	//Remove the "WPSSO Version Information" widget.
	remove_meta_box('wpsso-version-info', 'dashboard', 'normal');
	//Remove the "WPSSO Cache Status" widget.
	remove_meta_box('wpsso-cache-status', 'dashboard', 'normal');
}

add_action('wp_dashboard_setup', 'plt_hide_wpsso_dashboard_widgets', 20);