Skip to content

Instantly share code, notes, and snippets.

@techies23
Created December 16, 2020 09:12
Show Gist options
  • Save techies23/685bb40d5fd6d09b9debe6e6726ccb4e to your computer and use it in GitHub Desktop.
Save techies23/685bb40d5fd6d09b9debe6e6726ccb4e to your computer and use it in GitHub Desktop.
Show custom user roles on Assign to Host ID page
add_filter('zvc_allow_zoom_host_id_user_role', 'vczapi_allow_host_id_roles');
function vczapi_allow_host_id_roles($roles) {
$roles[] = 'your_user_role_slug_1';
$roles[] = 'your_user_role_slug_2';
return $roles;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment