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.2.1

do_action('bp_messages_exit_thread') is found 2 times:

  • /bp-messages/bp-messages-functions.php line 858
    		 *
    		 * @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

    			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: