Changeset 1306
- Timestamp:
- 02/24/2015 11:23:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/classes/mes-region.php
r1305 r1306 15 15 */ 16 16 public function __construct() { 17 add_action( 'init', array( $this, 'create_taxonomy' ) );17 add_action( 'init', array( $this, 'create_taxonomy' ) ); 18 18 add_action( self::TAXONOMY_SLUG . '_add_form_fields', array( $this, 'markup_meta_fields' ) ); 19 19 add_action( self::TAXONOMY_SLUG . '_edit_form_fields', array( $this, 'markup_meta_fields' ) ); 20 20 add_action( 'create_' . self::TAXONOMY_SLUG, array( $this, 'save_meta_fields' ) ); 21 21 add_action( 'edited_' . self::TAXONOMY_SLUG, array( $this, 'save_meta_fields' ) ); 22 add_action( 'add_meta_boxes' , array( $this, 'remove_meta_box' ), 10, 2 ); 23 add_action( 'wcpt_metabox_value', array( $this, 'wcpt_region_dropdown_render' ), 10, 3 ); 24 add_action( 'wcpt_metabox_save', array( $this, 'wcpt_region_dropdown_save' ), 10, 3 ); 25 26 // todo readjust whitespace after this commit 22 add_action( 'add_meta_boxes' , array( $this, 'remove_meta_box' ), 10, 2 ); 23 add_action( 'wcpt_metabox_value', array( $this, 'wcpt_region_dropdown_render' ), 10, 3 ); 24 add_action( 'wcpt_metabox_save', array( $this, 'wcpt_region_dropdown_save' ), 10, 3 ); 27 25 } 28 26
Note: See TracChangeset
for help on using the changeset viewer.