WebinarPress API

Developers can use our internal API to perform the following tasks:

  1. Get a list of all webinars
  2. Get a list of upcoming sessions for a recurring webinar
  3. Register an attendee for a webinar

Getting a list of webinars

// Return a list of webinars
$webinars = WebinarPress::get_webinars();

foreach ($webinars as &$webinar) {
    // Get the webinar id
    $webinar_id = $webinar->id;

    // Get the webinar name
    $name = $webinar->get_name();

Register an attendee

    'webinar_id' => 123,
    'name' => 'Example Attendee',
    'email' => '[email protected]'

Get a list of upcoming webinar sessions

$sessions = WebinarPress::get_upcoming_sessions(123);

foreach ($sessions as &$session) {
    $date = $session->date;
    $day = $session->day; // mon/tue/wed
    $time = $session->time; // 10:00/12:00/13:00

Still need help? Contact Us Contact Us