bp_blogs_screen_create_a_blog

Load the "Create a Blog" screen.

Description

bp_blogs_screen_create_a_blog(); 

Usage

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

Defined (1)

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

/bp-blogs/bp-blogs-screens.php  
  1. function bp_blogs_screen_create_a_blog() { 
  2.  
  3. if ( !is_multisite() || !bp_is_blogs_component() || !bp_is_current_action( 'create' ) ) 
  4. return false; 
  5.  
  6. if ( !is_user_logged_in() || !bp_blog_signup_enabled() ) 
  7. return false; 
  8.  
  9. /** 
  10. * Fires right before the loading of the Create A Blog screen template file. 
  11. * @since 1.0.0 
  12. */ 
  13.