bp_add_rewrite_tags

Fire the 'bp_add_rewrite_tag' action, where BP adds its custom rewrite tags.

Description

bp_add_rewrite_tags(); 

Usage

  1. if ( !function_exists( 'bp_add_rewrite_tags' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/bp-core-dependency.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_add_rewrite_tags(); 
  7.  

Defined (1)

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

/bp-core/bp-core-dependency.php  
  1. function bp_add_rewrite_tags() { 
  2.  
  3. /** 
  4. * Fires inside the 'bp_add_rewrite_tags' function, where BP adds its custom rewrite tags. 
  5. * @since 1.8.0 
  6. */