Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/17/2015 03:19:17 AM (9 years ago)
Author:
tw2113
Message:

Adds hooks documentation for the blogs template files.

See #5948.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/blogs/create.php

    r9604 r9761  
    1 <?php do_action( 'bp_before_create_blog_content_template' ); ?>
     1<?php
    22
    3 <?php do_action( 'template_notices' ); ?>
     3/**
     4 * Fires at the top of the blog creation template file.
     5 *
     6 * @since BuddyPress (1.6.0)
     7 */
     8do_action( 'bp_before_create_blog_content_template' ); ?>
    49
    5 <?php do_action( 'bp_before_create_blog_content' ); ?>
     10<?php
     11
     12/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     13do_action( 'template_notices' ); ?>
     14
     15<?php
     16
     17/**
     18 * Fires before the display of the blog creation form.
     19 *
     20 * @since BuddyPress (1.1.0)
     21 */
     22do_action( 'bp_before_create_blog_content' ); ?>
    623
    724<?php if ( bp_blog_signup_enabled() ) : ?>
     
    1734<?php endif; ?>
    1835
    19 <?php do_action( 'bp_after_create_blog_content' ); ?>
     36<?php
    2037
    21 <?php do_action( 'bp_after_create_blog_content_template' ); ?>
     38/**
     39 * Fires after the display of the blog creation form.
     40 *
     41 * @since BuddyPress (1.1.0)
     42 */
     43do_action( 'bp_after_create_blog_content' ); ?>
     44
     45<?php
     46
     47/**
     48 * Fires at the bottom of the blog creation template file.
     49 *
     50 * @since BuddyPress (1.6.0)
     51 */
     52do_action( 'bp_after_create_blog_content_template' ); ?>
Note: See TracChangeset for help on using the changeset viewer.