To get current page data using custom plugin on page load

I have created a custom plugin to get data of page. I tried some page load hooks but its not working.

Basically there is one form on page to enter a zip code and page url say, “www.abc.com”.

I entered a zip code and page redirects to other url say “www.pqr.com/directory/?address=06820&directory_radius=20” with some parameter

So i trying to get data from “www.pqr.com/directory/?address=06820&directory_radius=20” this url on page load with the help of hooks…

can any one help me out how to get data of current page on load… which hooks are there to achieve it in WP??

Read more here: To get current page data using custom plugin on page load

Leave a Reply

Your email address will not be published. Required fields are marked *