bp_rest_messages_create_item, $thread, $response, $request

bp_rest_messages_create_item, $thread, $response, $request

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_rest_messages_create_item, $thread, $response, $request') is found 1 times:

  • /bp-messages/classes/class-bp-rest-messages-endpoint.php line 408
    		 * @param BP_Messages_Thread $thread   Thread object.
    		 * @param WP_REST_Response   $response The response data.
    		 * @param WP_REST_Request    $request  The request sent to the API.
    		 */
    		do_action( 'bp_rest_messages_create_item', $thread, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Check if a given request has access to create a message.