This is my case. Supposing in my plugin dB table I have the following stored field name and values:
argument_1= 'test'
argument_2= 'test2'
And I want to add a new string query string variables to all links going out to www.example.com such that it will look like this:
If homepage is accessed:
www.example.com/?argument_1=test&argument_2=test2
Or any page like this:
www.example.com/anotherpage/?argument_1=test&argument_2=test2
What Wordpress hooks, actions and filters would I be using to retrieve the arguments and values in the database and append it to a hyperlink URL if it matched the domain, e.g. example.com ?
I am thinking of using add query arg but I'm confused a bit on how this function relates to this application. Any tips and advices are highly appreciated..Thanks.
arguments
? Meta_data, dates, tags? This is important on how to call them inthe_loop
but you may want to check out codex.wordpress.org/Class_Reference/WP_Query and php's$_GET[]