Changeset 6626 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/classes/mes-sponsorship-level.php
- Timestamp:
- 02/13/2018 08:14:07 PM (8 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
r1304 r6626 10 10 class MES_Sponsorship_Level { 11 11 const POST_TYPE_SLUG = 'mes-sponsor-level'; 12 12 13 13 /** 14 14 * Constructor … … 16 16 public function __construct() { 17 17 add_action( 'init', array( $this, 'create_post_type' ) ); 18 add_action( 'admin_init', array( $this, 'add_meta_boxes' ) );19 add_action( 'save_post', array( $this, 'save_post' ), 10, 2 );18 add_action( 'admin_init', array( $this, 'add_meta_boxes' ) ); 19 add_action( 'save_post', array( $this, 'save_post' ), 10, 2 ); 20 20 add_filter( 'the_content', array( $this, 'add_header_footer_text' ) ); 21 21 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)