add_query_arg() – Function | Developer.WordPress.org

Retrieves a modified URL query string.