Skip to content

Instantly share code, notes, and snippets.

@digamber89
Last active Jan 18, 2021
Embed
What would you like to do?
Moment JS Conflict - Video Conferencing with Zoom
<?php
add_action('wp_print_scripts','cm_dont_load_moment');
function cm_dont_load_moment(){
if(is_singular('zoom-meetings') ){
wp_dequeue_script('moment');
wp_deregister_script('moment');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment