Confetti Bits

cb-events-functions.php

CB Events Functions

These are going to be all of our CRUD functions for the events component.

Tags
since
3.0.0

Table of Contents

Functions

cb_events_new_event()  : mixed
Saves a new event to the database.
cb_events_new_notifications()  : mixed
Sends out notifications when a new event is created.
cb_events_update_notifications()  : mixed
CB Events Update Notifications

Functions

cb_events_new_event()

Saves a new event to the database.

cb_events_new_event([array<string|int, mixed> $args = [] ]) : mixed
Parameters
$args : array<string|int, mixed> = []

{ An associative array of arguments. Accepts any parameters of a CB_Events_Event object. }

cb_events_new_notifications()

Sends out notifications when a new event is created.

cb_events_new_notifications([array<string|int, mixed> $data = [] ]) : mixed
Parameters
$data : array<string|int, mixed> = []

{ An associative array of key => value pairs from a CB_Events_Event object.

@see CB_Events_Event::save()

}

Tags
since
3.0.0

cb_events_update_notifications()

CB Events Update Notifications

cb_events_update_notifications([mixed $data = [] ]) : mixed

Sends out an update notification when an event is updated.

Parameters
$data : mixed = []
Tags
since
3.0.0

        
On this page

Search results