Forums Forums General Need to hide System Status and other submenu items

Viewing 3 posts - 1 through 3 (of 3 total)
  • Trevor
    #216399

    I need to refer this to the plugin developer, Ross. He will get back to you.

    Ross Moderator
    #216470

    Hi Andrew

    You can add this to functions.php

    function wpcodex_adjust_the_wp_menu() {
    	$page = remove_submenu_page( 'edit.php?post_type=search-filter-widget', 'search-filter-settings' );
    	$page = remove_submenu_page( 'edit.php?post_type=search-filter-widget', 'search-filter-licence-settings' );
    	$page = remove_submenu_page( 'edit.php?post_type=search-filter-widget', 'search-filter-system-status' );
    }
    add_action( 'admin_menu', 'wpcodex_adjust_the_wp_menu', 999 );

    Thanks 🙂

    Anonymous
    #216479

    Thank you both! Exactly what I was looking for.

Viewing 3 posts - 1 through 3 (of 3 total)