bb_url_to_path

The BuddyPress bb url to path function.

Description

bb_url_to_path( $url ); 

Parameters (1)

0. $url
The url.

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php  
  1. function bb_url_to_path( $url ) { 
  2. bb_log_deprecated('function', __FUNCTION__, 'no alternative');