Inventory_Presser_Admin_Editor_Sidebar::scripts_and_styles()
Includes the wp-api JavaScript
Return Return
(void)
Source Source
File: includes/admin/class-admin-editor-sidebar.php
public function scripts_and_styles() { $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; wp_enqueue_script( 'wp-api' ); wp_enqueue_style( 'invp-editor-sidebar', plugins_url( "/css/editor-sidebar{$min}.css", INVP_PLUGIN_FILE_PATH ), array(), INVP_PLUGIN_VERSION ); }
Expand full source codeCollapse full source codeView on Github