Skip to content

Instantly share code, notes, and snippets.

@techies23
Created January 18, 2021 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techies23/713bc3e00a3a3a1cdcd00b9d059fd673 to your computer and use it in GitHub Desktop.
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
//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