[wp-hackers] How to filter the URL of each menu item

Pasquale Puzio pasquale.puzio at gmail.com
Mon Jan 16 12:27:53 UTC 2012


Hi all,

I would like to filter the URL of each menu item, not at the moment of
saving the menu but during a frontend request by an user.
My goal is to change the URL of some menu items when the user is not
logged. For example, if an user is not logged I want to change the URL
of a certain menu item in "javascript:alert(bla bla bla)".
Does there exist a filter to do so? Could you please give me a reference?

Thanks

-- 
Dott. Pasquale Puzio
http://www.pasqualepuzio.it
info at pasqualepuzio.it
340 5026359


More information about the wp-hackers mailing list