Show custom user roles on Assign to Host ID page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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