bp_rest_notifications_delete_item, $notification, $response, $request

bp_rest_notifications_delete_item, $notification, $response, $request

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: buddypress.14.5.2

do_action('bp_rest_notifications_delete_item, $notification, $response, $request') is found 1 times:

  • /bp-notifications/classes/class-bp-rest-notifications-endpoint.php line 492
    		 * @param BP_Notifications_Notification $notification The deleted notification.
    		 * @param WP_REST_Response              $response     The response data.
    		 * @param WP_REST_Request               $request      The request sent to the API.
    		 */
    		do_action( 'bp_rest_notifications_delete_item', $notification, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Check if a given request has access to delete a notification.