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.


Top ↑

Source

File: wp-includes/functions.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More