Changeset 6626 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/classes/mes-sponsor.php
- Timestamp:
- 02/13/2018 08:14:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/classes/mes-sponsor.php
r5773 r6626 14 14 class MES_Sponsor { 15 15 const POST_TYPE_SLUG = 'mes'; 16 16 17 17 /** 18 18 * Constructor … … 20 20 public function __construct() { 21 21 add_action( 'init', array( $this, 'create_post_type' ) ); 22 add_action( 'admin_init', array( $this, 'add_meta_boxes' ) );23 add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue' ), 20 );24 add_action( 'save_post', array( $this, 'save_post' ), 10, 2 );22 add_action( 'admin_init', array( $this, 'add_meta_boxes' ) ); 23 add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue' ), 20 ); 24 add_action( 'save_post', array( $this, 'save_post' ), 10, 2 ); 25 25 add_filter( 'the_content', array( $this, 'add_header_footer_text' ) ); 26 26 }
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)