what page am i on
-
I have a menu
If i click on an option I want to know what i have clicked and redirect
If i use get_permalink in a plugin function add-actioned in init. it gives me a blank
similarly $wp_query->post->post_title;
Any ideas?
- The topic ‘what page am i on’ is closed to new replies.