• Hello,

    is there a way to access the zoom meeting data in function.php. I know the meeting ID and want to access all other data via your API but have no idea how to do this.

    The goal is to send out a mail for people, who wanting take part on an meeting. But I don’t want to make the meeting data public readable. So I want to read out all data, add them to a mail body and send it out.

    Is there a way to do this?

    Thanks in advance
    Thorsten

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Deepen

    (@j_3rk)

    @thorque
    Yes, this is possible depending on which meeting data you want to fetch.

    If you want to fetch direct Zoom Meetings then you can use:

    //Just an example on INIT hook. 
    add_action('init', function() {
       //You can get your host id from wp-admin > Zoom Meetings > Users > user ID column.
       $encoded_meetings = json_decode(zoom_conference()->listMeetings( 'YOUR_HOST_ID' ));
    
       //Do what you want with the data
       dump($encoded_meetings);
    
    });

    To pull just single meeting.

    $meeting = json_decode( zoom_conference()->getMeetingInfo( $meeting_id ) );

    Where $meeting_id is the meeting ID you want to pull

    Thread Starter thorque

    (@thorque)

    Ok, thanks. But how can I access the meeting info? I see no documentation how the single informations are named.

    I have this function to add zoominar info to a contact-form:

    
    function add_shortcode_attributes_to_contact_form( $out, $pairs, $atts ) {
        $meeting = json_decode( zoom_conference()->getMeetingInfo("xxx"));
        $out["zoominar-name"] = $meeting?????;
        return $out;
    }
    

    Is this possible to do this with this approach?

    Thanks
    Thorsten

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Access meeting data in functions.php’ is closed to new replies.