[WP-Easyban] How To?
-
I want to make a seperate menu for Easy ban but i dont know how to edit this part to create a new menu.
please helpfunction easyban_dashboard() {
add_submenu_page(‘edit.php’, ‘EasyBan > Add’, ‘Add Ban’, ‘manage_options’, ‘wp-easyban’, ‘easyban_dashboard_add’);
add_submenu_page(‘plugins.php’, ‘EasyBan > Manage’, ‘Manage Bans’, ‘manage_options’, ‘wp-easyban2’, ‘easyban_dashboard_manage’);
add_submenu_page(‘options-general.php’, ‘EasyBan > Settings’, ‘EasyBan’, ‘manage_options’, ‘wp-easyban3’, ‘easyban_dashboard_options’);
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[WP-Easyban] How To?’ is closed to new replies.