bp_messages_exit_thread

bp_messages_exit_thread

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: buddypress.14.3.4

do_action('bp_messages_exit_thread') is found 2 times:

  • /bp-messages/bp-messages-functions.php line 858
    854
    855
    856
    857
    858
    859
    860
    861
    862
    863
    864
         *
         * @param int|array Thread ID or array of thread IDs that were deleted.
         * @param int       ID of the user that the threads were deleted for.
         */
        do_action( 'bp_messages_exit_thread', $thread_ids, $user_id );
     
        return true;
    } else {
        if ( ! BP_Messages_Thread::exit_thread( $thread_ids, $user_id ) ) {
            return false;
        }
  • /bp-messages/bp-messages-functions.php line 867

    Warning: Undefined array key 871 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 872 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    863
    864
    865
    866
    867
    868
    869
    870
    871
                return false;
            }
     
            /** This action is documented in bp-messages/bp-messages-functions.php */
            do_action( 'bp_messages_exit_thread', $thread_ids, $user_id );
     
            return true;
        }
    }

See this hook used in plugins: