Skip to content

Instantly share code, notes, and snippets.

@Pebblo Pebblo/example.php
Created Sep 27, 2018

Embed
What would you like to do?
Example of how to change the 'having problems receiving emails form' to use the co organisation email field.
<?php //Please do now include the opening PHP tag if you already have one
//Changes the 'To' field of the 'having problems recieveing emails' form.
function tw_ee_send_notification_to_admin__to_organization_email( $event_author_email, $registration ) {
return EE_Registry::instance()->CFG->organization->get_pretty( 'email' );
}
add_filter( 'FHEE__EED_WP_Users_SPCO__send_notification_to_admin__to', 'tw_ee_send_notification_to_admin__to_organization_email', 10, 2 );
@Pebblo

This comment has been minimized.

Copy link
Owner Author

commented Sep 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.