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
<?php | |
/** | |
Remove sorting js from gal because its giving issue to wordpress admin | |
**/ | |
function wpdocs_dequeue_script() { | |
if(is_admin()){ | |
//Only remove the script if the page is admin | |
wp_dequeue_script( 'sorting-woocommerce-prosorting-woocommerce-pro' ); | |
} |