I'm developing a Wordpress plugin and so far made main plugin administration page linked from admin menu (my_plugin_main.php). Here I have a grid with a list of "products".
I want to add a link to the grid footer to "my_plugin_edit_product.php" but I don't know how to do it, if I link
wp-admin/admin.php?page=my_plugin_main/my_plugin_edit_product.php
or
wp-admin/admin.php?page=my_plugin_edit_product
I get an access error.
How can I link a secondary plugin page from the main one? (I need all Wordpress functionallity and admin menu to be present in this page too)
Thank you