Changeset 702
- Timestamp:
- 06/12/2014 11:00:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-organizer-reminders/wcor-mailer.php
r701 r702 13 13 public function __construct() { 14 14 $this->triggers = array( 15 'wcor_added_to_pending_schedule' => array( 16 'name' => 'WordCamp added to pending schedule', 17 'actions' => array( 18 array( 19 'name' => 'wcpt_added_to_planning_schedule', 20 'callback' => 'send_trigger_added_to_pending_schedule', 21 'priority' => 10, 22 'parameters' => 1, 23 ), 24 ), 25 ), 26 15 27 'wcor_added_to_schedule' => array( 16 'name' => 'WordCamp Added to final schedule',28 'name' => 'WordCamp added to final schedule', 17 29 'actions' => array( 18 30 array( … … 26 38 27 39 'wcor_organizer_added_to_central' => array( 28 'name' => 'Lead Organizer Account added to Central',40 'name' => 'Lead organizer account added to Central', 29 41 'actions' => array( 30 42 array( … … 429 441 430 442 /** 443 * Sends e-mails hooked to the wcor_added_to_pending_schedule trigger. 444 * 445 * This fires when a WordCamp is added to the pending schedule. 446 * 447 * @param WP_Post $wordcamp 448 */ 449 public function send_trigger_added_to_pending_schedule( $wordcamp ) { 450 $this->send_triggered_emails( $wordcamp, 'wcor_added_to_pending_schedule' ); 451 } 452 453 /** 431 454 * Sends e-mails hooked to the wcor_added_to_schedule trigger. 432 455 *
Note: See TracChangeset
for help on using the changeset viewer.