Astra_Meta_Boxes::register_script()

Register Script for Meta options


Description


Source

File: inc/metabox/class-astra-meta-boxes.php

		public function register_script() {
			$path = get_template_directory_uri() . '/inc/metabox/extend-metabox/build/index.js';
			wp_register_script(
				'astra-meta-settings',
				$path,
				array( 'wp-plugins', 'wp-edit-post', 'wp-i18n', 'wp-element' ),
				ASTRA_THEME_VERSION,
				true
			);
		}

User Contributed Notes

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