Uses
| Uses | Description | 
|---|---|
| wp-includes/functions.php: removable_query_args | Filters the list of query variables to remove. | 
| wp-includes/plugin.php: apply_filters() | Calls the callback functions that have been added to a filter hook. | 
Returns an array of single-use query variable names that can be removed from a URL.
(string[]) An array of parameters to remove from the URL.
File: wp-includes/functions.php
function wp_removable_query_args() {
	$removable_query_args = array(
		'activate',
		'activated',
		'admin_email_remind_later',
		'approved',
		'deactivate',
		'delete_count',
		'deleted',
		'disabled',
		'doing_wp_cron',
		'enabled',
		'error',
		'hotkeys_highlight_first',
		'hotkeys_highlight_last',
		'locked',
		'message',
		'same',
		'saved',
		'settings-updated',
		'skipped',
		'spammed',
		'trashed',
		'unspammed',
		'untrashed',
		'update',
		'updated',
		'wp-post-new-reload',
	);
	/**
	 * Filters the list of query variables to remove.
	 *
	 * @since 4.2.0
	 *
	 * @param string[] $removable_query_args An array of query variables to remove from a URL.
	 */
	return apply_filters( 'removable_query_args', $removable_query_args );
}  | Version | Description | 
|---|---|
| 4.4.0 | Introduced. | 
    © 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
    https://developer.wordpress.org/reference/functions/wp_removable_query_args