Events Made Easy › Forums › Bug fixed or feature request implemented › Array in hook eme_update_event_action misses "event_id" and "event_author"
Tagged: eme_update_event_action, event_author, event_id, hook
- This topic has 6 replies, 2 voices, and was last updated 14 years, 1 month ago by
Anonymous.
-
AuthorPosts
-
Fri 9 Sep 2011 at 18:35 #43508
Anonymous
InactiveThis is my code :
add_action(’eme_update_event_action’,’email_to_confirm’);
function email_to_confirm($event) {
$to = the_author_meta(‘user_email’,$event);
$subject = ‘Published activity’;
$message = “Hello…”;
echo “Email :”.get_the_author_meta(‘user_email’,$event).””;
print_r($event);
}
The result of print_r =
Array ( [event_name] => test [event_status] => 2 [event_start_date] => 2011-09-22 [event_end_date] => 2011-09-22 [event_start_time] => 00:00:00 [event_end_time] => 00:00:00 [event_rsvp] => 0 [rsvp_number_days] => 0 [registration_requires_approval] => 0 [registration_wp_users_only] => 0 [event_seats] => 0 [use_paypal] => 0 [price] => 0 [currency] => EUR [event_contactperson_id] => -1 [event_notes] => test234567 [event_page_title_format] => [event_single_event_format] => [event_contactperson_email_body] => [event_respondent_email_body] => [event_url] => [event_slug] => test/ [event_category_ids] => [event_attributes] => a:0:{} [location_id] => 0 [recurrence_id] => 0 [modif_date] => 2011-09-09 14:25:48 [modif_date_gmt] => 2011-09-09 18:25:48 )
Sat 10 Sep 2011 at 07:46 #48656Franky
Keymasterfixed in trunk:
Wed 28 Sep 2011 at 13:47 #48657Anonymous
InactiveSince the last update (Version 4.0.1), In the hook add_action(’eme_update_event_action’,’email_to_confirm’); I do not see anymore the . Could you check this?
Wed 28 Sep 2011 at 14:54 #48658Franky
KeymasterErrr … did you check the mentioned changeset? It is for 4.0.2:
Bugfix: array in hook eme_update_event_action missed event_id and event_author
Wed 28 Sep 2011 at 19:41 #48659Anonymous
InactiveWhen I activate the plugin with the new files in Trunk, I always have this message : Warning: the plugin ‘Events Management Extended’ is being renamed to ‘Events Made Easy’. To switch to the renamed plugin: just deactivate the plugin ‘Events Management Extended’ and download and activate the new plugin ‘Events Made Easy’.
The message is always there even if I desactivate and reactivate the plugin…
Wed 28 Sep 2011 at 21:14 #48660Franky
Keymaster@nicomania: please don’t hijack a bug report for something about trunk.
Wed 28 Sep 2011 at 21:19 #48661Anonymous
InactiveSorry. I will know this for the future.
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.