Advertisement
fauzanjeg

JKIT || Fix Icon Picker conflict with JetEngine plugin

Jan 16th, 2023
1,816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.32 KB | None | 0 0
  1. /**
  2.  * Fix Icon Picker conflict with JetEngine plugin
  3.  */
  4. if ( ! function_exists( 'jkit_disable_jeg_iconpicker' ) ) {
  5.     /**
  6.      * Dequeue Jeg Iconpicker JS
  7.      */
  8.     function jkit_disable_jeg_iconpicker() {
  9.         wp_dequeue_script( 'jeg-iconpicker' );
  10.     }
  11.     add_action( 'wp_print_scripts', 'jkit_disable_jeg_iconpicker', 999 );
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement