![]() ![]() Omitting the URL from either use results in the current URL being used (the value of $_SERVER). Using an associative array: add_query_arg( array( Using a single key and value: add_query_arg( 'key', 'value', '' ) There are two ways to use this function either a single key and value, or an associative array. You can rebuild the URL and append query variables to the URL query by using this function.
0 Comments
Leave a Reply. |