Inventory_Presser_Admin_Location_Meta::add_hooks()
Source
File: includes/admin/class-admin-location-meta.php
public function add_hooks() { // location taxonomy admin actions add_action( 'location_add_form_fields', array( $this, 'add_location_fields' ), 10, 2 ); add_action( 'location_edit_form_fields', array( $this, 'edit_location_field' ), 10, 2 ); add_action( 'created_location', array( $this, 'save_location_meta' ), 10, 2 ); add_action( 'edited_location', array( $this, 'save_location_meta' ), 10, 2 ); // Load JavaScript for timepickers, draggable and repeating fields add_action( 'admin_enqueue_scripts', array( $this, 'load_scripts' ) ); }
Expand full source code Collapse full source code View on Github