remove_query_arg


remove_query_arg ( $key, $query = false )

Parameters:
  • (string|array) $key Query key or keys to remove.
  • (bool|string) $query Optional. When false uses the current URL. Default false.
Returns:
  • (string) New URL query string.
Defined at:

Description

Removes an item or items from a query string.

Related Functions

wp_removable_query_args, remove_user_from_blog, remove_menu_page, remove_submenu_page, add_query_arg

Top Google Results

User discussions

wpseek mobile