Adding GET params to a URL in WordPress with add_query_arg

I am finding myself using this function a lot now, and I constantly forget the function name: add_query_arg(); It allows you to pass in some additional parameters, and a URL, and receive back the URL with the query string params added. For example: $some_url = “http://simonwheatley.co.uk/?stuff=whatever”; $params = array( ‘wp_siteurl’ => “http://www.example.com” ); $some_url = …