[wp-hackers] How to find the URL to a plugin profile page?
hovenko at linpro.no
Mon Feb 26 14:52:55 GMT 2007
I have a plugin that calls the add_submenu_page(..) function to add a page to
profile.php, to enable users to select their home location/city.
__FILE__ . "/user_profile",
The menu item shows up in the admin menu bar, as expected.
When an administrator is logged in the URL
but when a normal user is logged in the URL
because the normal user does not have permissions to list all users.
The problem is that i need to create a link on the front page to send the user
to this admin page. I do not want to test if the user is at a certain user
level, because that might change later and break my plugin.
Systemutvikler mob: +47 986 71 700
Linpro AS http://www.linpro.no/
More information about the wp-hackers