CCCPaste

JKIT || Fix Icon Picker conflict with JetEngine plugin

/**
 * Fix Icon Picker conflict with JetEngine plugin
 */
if ( ! function_exists( 'jkit_disable_jeg_iconpicker' ) ) {
	/**
	 * Dequeue Jeg Iconpicker JS
	 */
	function jkit_disable_jeg_iconpicker() {
		wp_dequeue_script( 'jeg-iconpicker' );
	}
	add_action( 'wp_print_scripts', 'jkit_disable_jeg_iconpicker', 999 );
}