3 years agocompleted2

Hi, first off we love this plugin - the ability for students to join the webinar without the hassle of downloading and installing the zoom app is fantastic; however, we've run into a limitation of the plugin's settings: There's no way to configure which users are automatically made hosts as it's enforced by role (administrator) instead of capability (for example, manage_options, which only administrators have by default). In the meantime, we've been forced to fork the plugin so as to make the code changes ourselves, but a setting would obviously be preferable so we don't have to manually update all our platforms. Currently, we are using this process - though I image this is a bit more brute force that could be achieved by someone with better knowledge of the plugin's architecture:


Edit: video-conferencing-with-zoom-helpers.php


Locate function:

function video_conferencing_zoom_is_user_admin() {
if ( is_user_logged_in() ) {
$user = wp_get_current_user();
$roles = (array) $user->roles;
if ( in_array( 'administrator', $roles ) ) {
return 1;
return 0;

To make the behaviour what we need, I change the if statement in the above function to:

if ( current_user_can( 'manage_options' ) ) {
return 1;

It would be fantastic to have a setting to determine this so we don't have to manually update 10 platforms.
Ideally, a brand new capability to determine whether the user becomes host upon visiting an embedded meeting's page would be best, but an easier option would be a simple toggle of "Administrators only" or "Users with manage_options capability" in the plugins settings to change how admin users are determined.

Thanks for taking the time to read and consider!