Changeset 1304 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/multi-event-sponsors/classes/mes-sponsor.php
- Timestamp:
- 02/24/2015 08:05:37 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-sponsor.php
r1302 r1304 13 13 14 14 class MES_Sponsor { 15 const POST_TYPE_SLUG = 'mes';15 const POST_TYPE_SLUG = 'mes'; 16 16 17 17 /** … … 19 19 */ 20 20 public function __construct() { 21 add_action( 'init', array( $this, 'create_post_type' ) ); 22 add_action( 'admin_init', array( $this, 'add_meta_boxes' ) ); 23 add_action( 'save_post', array( $this, 'save_post' ), 10, 2 ); 24 add_filter( 'the_content', array( $this, 'add_header_footer_text' ) ); 25 26 // todo readjust whitespace after this commit 21 add_action( 'init', array( $this, 'create_post_type' ) ); 22 add_action( 'admin_init', array( $this, 'add_meta_boxes' ) ); 23 add_action( 'save_post', array( $this, 'save_post' ), 10, 2 ); 24 add_filter( 'the_content', array( $this, 'add_header_footer_text' ) ); 27 25 } 28 26 … … 126 124 * @param array $regional_sponsorships 127 125 * @param array $regions 126 * 128 127 * @return array 129 128 */ … … 203 202 * 204 203 * @param string $content 204 * 205 205 * @return string 206 206 */
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)