bb_parse_args

The BuddyPress bb parse args function.

Description

bb_parse_args( $args, (string) $defaults = '' ); 

Parameters (2)

0. $args
The args.
1. $defaults — Optional. (string) => ''
The defaults.

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function bb_parse_args( $args, $defaults = '' ) { 
  2. bb_log_deprecated('function', __FUNCTION__, 'wp_parse_args'); 
  3. return wp_parse_args( $args, $defaults );