[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-legacy/buddypress/blogs/ -> create.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Blogs Create
   4   *
   5   * @package BuddyPress
   6   * @subpackage bp-legacy
   7   * @version 3.0.0
   8   */
   9  
  10  /**
  11   * Fires at the top of the blog creation template file.
  12   *
  13   * @since 1.6.0
  14   */
  15  do_action( 'bp_before_create_blog_content_template' ); ?>
  16  
  17  <div id="template-notices" role="alert" aria-atomic="true">
  18      <?php
  19  
  20      /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
  21      do_action( 'template_notices' ); ?>
  22  
  23  </div>
  24  
  25  <?php
  26  
  27  /**
  28   * Fires before the display of the blog creation form.
  29   *
  30   * @since 1.1.0
  31   */
  32  do_action( 'bp_before_create_blog_content' ); ?>
  33  
  34  <?php if ( bp_blog_signup_enabled() ) : ?>
  35  
  36      <?php bp_show_blog_signup_form(); ?>
  37  
  38  <?php else: ?>
  39  
  40      <div id="message" class="info">
  41          <p><?php _e( 'Site registration is currently disabled', 'buddypress' ); ?></p>
  42      </div>
  43  
  44  <?php endif; ?>
  45  
  46  <?php
  47  
  48  /**
  49   * Fires after the display of the blog creation form.
  50   *
  51   * @since 1.1.0
  52   */
  53  do_action( 'bp_after_create_blog_content' ); ?>
  54  
  55  <?php
  56  
  57  /**
  58   * Fires at the bottom of the blog creation template file.
  59   *
  60   * @since 1.6.0
  61   */
  62  do_action( 'bp_after_create_blog_content_template' );


Generated: Tue Dec 10 01:01:39 2019 Cross-referenced by PHPXref 0.7.1