Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/28/2015 01:52:18 AM (10 years ago)
Author:
tw2113
Message:

Adds hooks documentation for the members template files.

Fixes #5948.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php

    r9604 r9814  
    11<form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" role="main" enctype="multipart/form-data">
    22
    3     <?php do_action( 'bp_before_messages_compose_content' ); ?>
     3    <?php
     4
     5    /**
     6     * Fires before the display of message compose content.
     7     *
     8     * @since BuddyPress (1.1.0)
     9     */
     10    do_action( 'bp_before_messages_compose_content' ); ?>
    411
    512    <label for="send-to-input"><?php _e("Send To (Username or Friend's Name)", 'buddypress' ); ?></label>
     
    2330    <input type="hidden" name="send_to_usernames" id="send-to-usernames" value="<?php bp_message_get_recipient_usernames(); ?>" class="<?php bp_message_get_recipient_usernames(); ?>" />
    2431
    25     <?php do_action( 'bp_after_messages_compose_content' ); ?>
     32    <?php
     33
     34    /**
     35     * Fires after the display of message compose content.
     36     *
     37     * @since BuddyPress (1.1.0)
     38     */
     39    do_action( 'bp_after_messages_compose_content' ); ?>
    2640
    2741    <div class="submit">
Note: See TracChangeset for help on using the changeset viewer.