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:
Or any page like this:
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.