bb_anonymous_post_form

The BuddyPress bb anonymous post form function.

Description

bb_anonymous_post_form(); 

Usage

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

Defined (1)

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

/bp-forums/bbpress/bb-includes/functions.bb-template.php  
  1. function bb_anonymous_post_form() { 
  2. if ( !bb_is_user_logged_in() && !bb_is_login_required() ) 
  3. bb_load_template( 'post-form-anonymous.php' );