W3cubDocs

/WordPress

apply_filters( ‘removable_query_args’, string[] $removable_query_args )

Filters the list of query variable names to remove.

Parameters

$removable_query_argsstring[]
An array of query variable names to remove from a URL.

Source

return apply_filters( 'removable_query_args', $removable_query_args );

Changelog

Version Description
4.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/removable_query_args