Changeset 675
- Timestamp:
- 06/04/2014 11:49:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-organizer-reminders/wcor-mailer.php
r673 r675 31 31 'name' => 'wcor_organizer_added_to_central', 32 32 'callback' => 'send_trigger_organizer_added_to_central', 33 'priority' => 10, 34 'parameters' => 1, 35 ), 36 ), 37 ), 38 39 'wcor_wordcamp_site_created' => array( 40 'name' => 'WordCamp website created', 41 'actions' => array( 42 array( 43 'name' => 'wcor_wordcamp_site_created', 44 'callback' => 'send_trigger_wordcamp_site_created', 33 45 'priority' => 10, 34 46 'parameters' => 1, … … 398 410 399 411 /** 412 * Sends e-mails hooked to the wcor_wordcamp_site_created trigger. 413 * 414 * This fires when a new WordCamp.org ste is created. 415 * 416 * wcor_wordcamp_site_created is only triggered when a new site has successfully been created, 417 * so we don't need to do any precondition checks like other trigger callbacks. 418 * 419 * @param int $wordcamp_id 420 */ 421 public function send_trigger_wordcamp_site_created( $wordcamp_id ) { 422 $this->send_triggered_emails( get_post( $wordcamp_id ), 'wcor_wordcamp_site_created' ); 423 } 424 425 /** 400 426 * Send emails associated with the given trigger. 401 427 *
Note: See TracChangeset
for help on using the changeset viewer.