WP::remove_query_var( string $name )
Removes a query variable from a list of public query variables.
Description Description
Parameters Parameters
- $name
-
(string) (Required) Query variable name.
Source Source
File: wp-includes/class-wp.php
public function remove_query_var( $name ) { $this->public_query_vars = array_diff( $this->public_query_vars, array( $name ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |