bp_add_permastructs

Fire the 'bp_add_permastructs' action, where BP adds its BP-specific permalink structure.

Description

bp_add_permastructs(); 

Usage

  1. if ( !function_exists( 'bp_add_permastructs' ) ) { 
  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_permastructs(); 
  7.  

Defined (1)

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

/bp-core/bp-core-dependency.php  
  1. function bp_add_permastructs() { 
  2.  
  3. /** 
  4. * Fires inside the 'bp_add_permastructs' function, where BP adds its BP-specific permalink structure. 
  5. * @since 1.9.0 
  6. */