I use the add_menu_page function to add an new admin menu: add_menu_page( 'Custom_menu', 'Custom_menu', 'edit_posts', 'custom_slug', '', 'wordpress_existing_icon', 5 ); How to use one of WordPress’ existing icons? For...
  • May 7, 2022
  • 0 Comments
I have a built a plugin which creates a custom menu like this: add_menu_page( 'Wholesale Pricing', 'Wholesale', 'manage_options', 'woo-wholesale', 'woo_wholesale_page_call'); I am now trying to add a subpage item...
  • May 5, 2022
  • 0 Comments
In my admin section I would like to add in Appearance > Menus > some custom pages to add to my menu. I have two different menu one for...
  • May 5, 2022
  • 0 Comments
IT Nursery
I have a custom menu using add_menu_page: add_menu_page('My menu' , 'Some text', 'read', 'nwcm'); Under it, I show a custom post type menu item; // Create the news custom...
  • April 20, 2022
  • 0 Comments
IT Nursery
I’m using a few plugins that have shortcodes … however, instead of creating a public page for the content, I’ve created some new pages within the admin using add_menu_page...
  • April 12, 2022
  • 0 Comments