_remove_qs_args_if_not_in_url


_remove_qs_args_if_not_in_url ( $query_string, $args_to_check, $url )

Access:
  • private
Parameters:
  • (string) query_string
  • (array) args_to_check
  • (string) url
Returns:
  • (string) The altered query string
Defined at:

Description

Removes arguments from a query string if they are not present in a URL DO NOT use this in plugin code.

Related Functions

wp_remove_targeted_link_rel_filters, wp_removable_query_args, remove_query_arg, remove_action, remove_all_actions

Top Google Results

User discussions

wpseek mobile