bb_is_login_required

Whether a user is required to log in in order to create posts and forums.

Description

bb_is_login_required(); 

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-template.php  
  1. function bb_is_login_required() { 
  2. return ! (bool) bb_get_option('enable_loginless');