Skip to:
Content

BuddyPress.org

Changeset 9207


Ignore:
Timestamp:
12/01/2014 07:11:56 PM (12 years ago)
Author:
boonebgorges
Message:

Add some hook documentation for the Messages component.

Props tw2113.
See #5945.

Location:
trunk/src/bp-messages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/bp-messages-actions.php

    r9190 r9207  
    5757        messages_mark_thread_read( $thread_id );
    5858
     59        /**
     60         * Fires after processing a view request for a single message thread.
     61         *
     62         * @since BuddyPress (1.7.0)
     63         */
    5964        do_action( 'messages_action_conversation' );
    6065}
  • trunk/src/bp-messages/bp-messages-widgets.php

    r8958 r9207  
    6363
    6464                $title = ! empty( $instance['title'] ) ? $instance['title'] : '';
     65
     66                /**
     67                 * Filters the title of the Friends widget.
     68                 *
     69                 * @since BuddyPress (1.9.0)
     70                 *
     71                 * @param string $title The widget title.
     72                 */
    6573                $title = apply_filters( 'widget_title', $title, $instance );
    6674
Note: See TracChangeset for help on using the changeset viewer.