Quantcast
Channel: Plugin add_action and add_menu_page - WordPress Development Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Sally CJ for Plugin add_action and add_menu_page

The main difference is the location where the style (link) or script tag be in the source, or whether the resource is loaded in head or the footer. With a add_menu_page()/add_submenu_page() callback...

View Article



Plugin add_action and add_menu_page

I am using this code to make menu for my plugin. This works well. My question is: what is the difference between including some php page and enqueue some scripts/styles in foo_admin_enqueue_scripts...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images