Changeset 627 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/classes/mes-sponsorship-level.php
- Timestamp:
- 05/20/2014 09:30:03 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/classes/mes-sponsorship-level.php
r626 r627 15 15 */ 16 16 public function __construct() { 17 add_action( 'init', array( $this, 'create_post_type' ) );17 add_action( 'init', array( $this, 'create_post_type' ) ); 18 18 add_action( 'add_meta_boxes_' . self::POST_TYPE_SLUG, array( $this, 'remove_meta_boxes' ) ); 19 add_action( 'admin_init', array( $this, 'add_meta_boxes' ) );20 add_action( 'save_post', array( $this, 'save_post' ), 10, 2 );21 add_filter( 'the_content', array( $this, 'add_header_footer_text' ) );19 add_action( 'admin_init', array( $this, 'add_meta_boxes' ) ); 20 add_action( 'save_post', array( $this, 'save_post' ), 10, 2 ); 21 add_filter( 'the_content', array( $this, 'add_header_footer_text' ) ); 22 22 } 23 23
Note: See TracChangeset
for help on using the changeset viewer.