bp_messages_before_exit_thread

bp_messages_before_exit_thread

Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.3.3

do_action('bp_messages_before_exit_thread') is found 1 times:

  • /bp-messages/bp-messages-functions.php line 836

    *
    * @param int|array $thread_ids Thread ID or array of thread IDs to be deleted.
    * @param int $user_id ID of the user the threads are being deleted for.
    */
    do_action( ‘bp_messages_before_exit_thread’, $thread_ids, $user_id );

    if ( is_array( $thread_ids ) ) {
    $error = 0;
    for ( $i = 0, $count = count( $thread_ids ); $i < $count; ++$i ) { if ( ! BP_Messages_Thread::exit_thread( $thread_ids[ $i ], $user_id ) ) { $error = 1; [/php]