Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function maybe_remove_selectbox_script() {
- $handle = 'select2-handle'; // Check with your theme vendor to find out the actual handle
- if (tribe_is_community_edit_event_page()) wp_dequeue_script($handle);
- }
- add_action('wp_enqueue_scripts', 'maybe_remove_selectbox_script', 1000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement