<?php | |
public static function live_preview() { | |
wp_enqueue_script( | |
'ari-themecustomizer', // Give the script a unique ID | |
get_template_directory_uri() . '/theme-customizer.js', // Define the path to the JS file | |
array( 'jquery', 'customize-preview' ), // Define dependencies | |
'', // Define a version (optional) | |
true // Specify whether to put in footer (leave this true) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment