I need to remove the few admin menus of BeTheme from admin wordpress menu. Although this code works (when added to functions.php) for usual wordpress admin menus
add_action( 'admin_menu', 'my_remove_menu_pages' );
function my_remove_menu_pages() {
remove_menu_page( 'edit.php' ); //Posts
remove_menu_page( 'upload.php' ); //Media
remove_menu_page( 'edit-comments.php' ); //Comments
remove_menu_page( 'themes.php' ); //Appearance
remove_menu_page( 'users.php' ); //Users
remove_menu_page( 'tools.php' ); //Tools
remove_menu_page( 'options-general.php' ); //Settings
};
For BeTheme additional pages I can't manage to hide them. These pages have links:
wp-admin/admin.php?page=betheme
wp-admin/admin.php?page=be-websites
wp-admin/admin.php?page=be-status
wp-admin/admin.php?page=be-support
wp-admin/admin.php?page=be-changelog
I tried with only end names 'betheme' and together with page=betheme but nothing.
How could i remove these menu items from admin wordpress menu?