| | |
| | | <?php |
| | | |
| | | $jvbEmail = add_filter('jvb_email', 'atat_email'); |
| | | $jvbEmail = add_filter('jvb_email', 'aei_email'); |
| | | |
| | | function atat_email(array $defaults):array |
| | | function aei_email(array $defaults):array |
| | | { |
| | | return [ |
| | | 'colours' => [ |
| | |
| | | * |
| | | */ |
| | | |
| | | add_filter('jvbNewUserEmail', 'atat_new_user_email', 10, 2); |
| | | function atat_new_user_email(string $message, WP_User $user):string |
| | | add_filter('jvbNewUserEmail', 'aei_new_user_email', 10, 2); |
| | | function aei_new_user_email(string $message, WP_User $user):string |
| | | { |
| | | |
| | | $user_login = $user->user_login; |