Summery Summery
Add name to list of public query variables.
Syntax Syntax
Parameters Parameters
- $qv
-
(Required) Query variable name.
Source Source
File: wp-includes/class-wp.php
public function add_query_var( $qv ) { if ( ! in_array( $qv, $this->public_query_vars, true ) ) { $this->public_query_vars[] = $qv; } }
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |