Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/08/2016 06:00:55 PM (4 years ago)
Author:
dcavins
Message:

Messages: Add hooks in loop and single templates.

Add an action hook to the thread options cell in
the messages loop template and another following
the "delete" link in a single message's
#message-recipients block.

Fixes #6775.

File:
1 edited

Legend:

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

    r10562 r10564  
    4343
    4444            <a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>" title="<?php esc_attr_e( "Delete Conversation", 'buddypress' ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a>
     45
     46            <?php
     47           
     48            /**
     49             * Fires after the action links in the header of a single message thread.
     50             *
     51             * @since 2.5.0
     52             */
     53            do_action( 'bp_after_message_thread_recipients' ); ?>
    4554        </p>
    4655
Note: See TracChangeset for help on using the changeset viewer.