bb_remove_query_arg

The BuddyPress bb remove query arg function.

Description

bb_remove_query_arg( $key, (string) $query = '' ); 

Parameters (2)

0. $key
The key.
1. $query — Optional. (string) => ''
The query.

Usage

  1. if ( !function_exists( 'bb_remove_query_arg' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php'; 
  3.  
  4. // The key. 
  5. $key = null; 
  6.  
  7. // The query. 
  8. $query = ''; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = bb_remove_query_arg($key, $query); 
  12.  

Defined (1)

The function is defined in the following location(s).

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function bb_remove_query_arg($key, $query = '') { 
  2. bb_log_deprecated('function', __FUNCTION__, 'remove_query_arg'); 
  3. return remove_query_arg($key, $query);