Summery Summery
Filters the query variables whitelist before processing.
Syntax Syntax
Description Description
Allows (publicly allowed) query vars to be added, removed, or changed prior to executing the query. Needed to allow custom rewrite rules using your own arguments to work, or any other custom query variables you want to be publicly available.
Parameters Parameters
- $public_query_vars
-
The array of whitelisted query variable names.
Source Source
File: wp-includes/class-wp.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |