Inventory_Presser_Editor_Sidebar::maybe_update_term( $meta_id,  $object_id,  $meta_key,  $meta_value )


Source

File: includes/class-editor-sidebar.php

	 * Adds hooks
	 *
	 * @return void
	 */
	function hooks()
	{
		add_action( 'enqueue_block_editor_assets', array( $this, 'sidebar_plugin_script_enqueue' ) );
		add_action( 'init', array( $this, 'sidebar_plugin_register' ) );
		add_action( 'admin_enqueue_scripts', array( $this, 'include_javascript_backbone' ) );
	}
	
	/**
	 * include_javascript_backbone
	 * 
	 * Includes the wp-api JavaScript
	 *
	 * @return void
	 */
	function include_javascript_backbone()
	{
		wp_enqueue_script( 'wp-api' );
	}	
}