Tag Info

New answers tagged

0

I have achieved same with this: function add_custom_menu_item(){ add_menu_page( 'Menu Item Title', 'Page Title', 'manage_options', 'page_slug', 'function', 'dashicons-icon', 1 ); } add_action( 'admin_menu', 'add_custom_menu_item' ); function custom_menu_item_redirect() { $menu_redirect = isset($_GET['page']) ? $_GET['page'] : false; ...



Top 50 recent answers are included