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
<?php | |
/** | |
* The Template for displaying all single meetings | |
* | |
* This template can be overridden by copying it to yourtheme/video-conferencing-zoom/shortcode/zoom-listing.php. | |
* | |
* @package Video Conferencing with Zoom API/Templates | |
* @version 3.2.2 | |
* @updated 3.6.0 | |
*/ |
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
<?php | |
/** | |
* The Template for displaying list of recordings via meeting ID | |
* | |
* This template can be overridden by copying it to yourtheme/video-conferencing-zoom/shortcode/zoom-recordings-by-meeting.php. | |
* | |
* @package Video Conferencing with Zoom API/Templates | |
* @version 3.5.0 | |
*/ |
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
<?php | |
/** | |
* The Template for displaying list of recordings via Host ID | |
* | |
* This template can be overridden by copying it to yourtheme/video-conferencing-zoom/shortcode/zoom-recordings.php. | |
* | |
* @package Video Conferencing with Zoom API/Templates | |
* @version 3.5.0 | |
*/ |
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
<?php | |
/** | |
* Paste below code to your functions.php file in your theme. | |
* | |
* NOTE: If user is not logged in this code will not work because when joining a meeting from browser - User name is a required field and since | |
* this below code directly triggers the join button on load. Users will not be able to join the meeting without a name. | |
* | |
* The reason this would work with logged in users is because username is already selected in the join via browser page if a user is logged in. | |
*/ | |
add_action( 'vczapi_join_via_browser_after_script_load', function () { |
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
<?php | |
/** | |
* The template for displaying meeting join and start links | |
* | |
* This template can be overridden by copying it to yourtheme/video-conferencing-zoom-pro/fragments/join-links.php. | |
* | |
* @author Deepen. | |
* @created_on 11/19/19 | |
*/ |
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 below code to your theme's functions.php file | |
add_filter('vczapi_pro_on_wp_user_create', 'vczapi_change_role'); | |
function vczapi_change_role( $role ) { | |
$role['role'] = 'your_custom_role'; | |
return $role; | |
} |
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
//Paste below to your functions.php file in your theme | |
function codemanas_dequeue_script() { | |
wp_dequeue_script( 'video-conferencing-with-zoom-api-moment' ); | |
wp_deregister_script( 'video-conferencing-with-zoom-api-moment' ); | |
wp_dequeue_script( 'video-conferencing-with-zoom-api-moment-timezone' ); | |
wp_deregister_script( 'video-conferencing-with-zoom-api-moment-timezone' ); | |
} | |
add_action( 'wp_print_scripts', 'codemanas_dequeue_script', 100 ); |
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; | |
} |
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
//NOTE: After adding below code - Goto wp-admin > Settings > Permalinks and hit save button to apply changes. | |
add_filter('vczapi_cpt_slug', 'vczapi_change_slug'); | |
function vczapi_change_slug() { | |
return 'custom-slug'; | |
} |
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
<?php | |
/** | |
* The Template for joining meeting via browser | |
* | |
* This template can be overridden by copying it to yourtheme/video-conferencing-zoom/join-web-browser.php. | |
* | |
* @package Video Conferencing with Zoom API/Templates | |
* @since 3.0.0 | |
* @modified 3.3.1 | |
*/ |