BP_FORUMS_PARENT_FORUM_ID

The bbPress BP FORUMS PARENT FORUM ID constant.

Value (int)


Usage

  1. if ( defined( 'BP_FORUMS_PARENT_FORUM_ID' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'BP_FORUMS_PARENT_FORUM_ID' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (1)

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

/includes/extend/buddypress/loader.php  
  1. define( 'BP_FORUMS_PARENT_FORUM_ID', 1 );