Related to add_menu_page
-
Hello.
How do I do to redirect to an page I created on my plugin folder? Instead of rendering a template inside “function”.
add_menu_page('Adicionar produto', 'Adicionar Produto', 'manage_options', 'index_func', 'index_func');
Also only am able to redirect to a page which is inside wp-admin folder? Would like to redirect, for example, to “wp-content/MY_PLUGIN_NAME/MY_PAGE.PHP”
Is this possible?
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Related to add_menu_page’ is closed to new replies.