Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function km_enqueue_customizer_scripts() {
global $wp_customize;
if ( ! isset( $wp_customize ) ) {
return;
}
wp_enqueue_script( 'customizer_scripts', PLUGIN_URL . 'assets/js/customizer_scripts.js', 'jquery' );
}
add_action( 'admin_enqueue_scripts', 'km_enqueue_customizer_scripts' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.