Astra_Ext_LifterLMS_Loader::preview_scripts()

Customizer Controls


Description

See also


Source

File: addons/lifterlms/classes/class-astra-ext-lifterlms-loader.php

		public function preview_scripts() {

			if ( SCRIPT_DEBUG ) {
				$js_path = 'assets/js/unminified/customizer-preview.js';
			} else {
				$js_path = 'assets/js/minified/customizer-preview.min.js';
			}

			wp_register_script( 'ast-lifterlms-customizer-preview', ASTRA_EXT_LIFTERLMS_URI . $js_path, array( 'customize-preview', 'astra-customizer-preview-js' ), ASTRA_EXT_VER, true );
			wp_enqueue_script( 'ast-lifterlms-customizer-preview' );
		}

User Contributed Notes

You must log in before being able to contribute a note or feedback.