Inventory_Presser_Editor_Sidebar::sidebar_plugin_register()

sidebar_plugin_register


Description Description

Registers a JavaScript file


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-editor-sidebar.php

	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' )
		);
	}