Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('wp_print_scripts', 'remove_upload_script');
- function remove_upload_script(){
- if( ! is_page('submit') ){
- wp_dequeue_script('dnd-upload-cf7');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement