WordPress add_menu_page ()

  • Introduction # This function is to add an item in the admin panel’s nav bar.
  • Syntax add_menu_page ( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position)
  • Parameters
  • Remarks Here is a list of the default positions (for $position) 2 – Dashboard 4 – Separator …
  • Adding the “Theme page title” item to the nav bar Code …
  • OOP & how to load scripts/styles on menu page
  • Referance : https://developer.wordpress.org/reference/functions/add_menu_page/

Leave a comment

Your email address will not be published. Required fields are marked *