Created
January 18, 2021 06:43
-
-
Save techies23/713bc3e00a3a3a1cdcd00b9d059fd673 to your computer and use it in GitHub Desktop.
Deactivate Moment JS of Video Conferencing with Zoom API plugin for removing conflicts
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 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment