removable_query_args WordPress Filter Hook
The removable_query_args hook is used to remove certain query arguments from the URL. This can be useful for security or performance reasons.
apply_filters( 'removable_query_args', string[] $removable_query_args ) #
Filters the list of query variable names to remove.
Parameters
- $removable_query_args
(string[])An array of query variable names to remove from a URL.
Source
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |