Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public static function live_preview() {
'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