Inventory_Presser_Admin_Editor_Sidebar::sidebar_plugin_register()

Registers a JavaScript file


Return

(void)


Source

File: includes/admin/class-admin-editor-sidebar.php

	public function sidebar_plugin_register() {
		wp_register_script(
			'invp-plugin-sidebar',
			plugins_url( '/js/editor-sidebar.min.js', INVP_PLUGIN_FILE_PATH ),
			array( 'wp-plugins', 'wp-edit-post', 'wp-element', 'wp-components', 'wp-data', 'wp-hooks', 'wp-i18n' ),
			INVP_PLUGIN_VERSION,
			true
		);
	}