Inventory_Presser_Admin_Editor_Sidebar::sidebar_plugin_register()
Registers a JavaScript file
Return Return
(void)
Source Source
File: includes/admin/class-admin-editor-sidebar.php
public function sidebar_plugin_register() { $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; wp_register_script( 'invp-plugin-sidebar', plugins_url( "/js/editor-sidebar{$min}.js", INVP_PLUGIN_FILE_PATH ), array( 'invp', 'wp-plugins', 'wp-edit-post', 'wp-element', 'wp-components', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-api' ), INVP_PLUGIN_VERSION, true ); }
Expand full source codeCollapse full source codeView on Github