Is there any way to add absolute path for add_menu_page function?
I am creating a plugin for add menu option to WordPress admin and using below function for that:
?php add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position ); ?
But I would like to add absolute path for menu option in the place of $menu_slug
.
please see the screen shot, I have created both " Header and footer " using add_menu_page function. I would like to give absolute path for both header and footer. I know plugins are available for this but I am creating my plugin with different functionality.
Topic add-menu-page admin-menu Wordpress
Category Web