[wp-trac] [WordPress Trac] #34699: New function: `get_query_arg()`

WordPress Trac noreply at wordpress.org
Mon Nov 16 12:51:33 UTC 2015


#34699: New function: `get_query_arg()`
------------------------------+-----------------------------
 Reporter:  sebastian.pisula  |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  General           |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 For example i have url $url =
 'http://example.com/?param=1&param2=2&param3=3' and I want get `param2` so
 I use function: get_query_arg('param2', $url);

 Second argument: exists function add_query_arg and remove_query_arg

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34699>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list