Victor
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Plugins
In reply to: [Download Monitor] No Add file in adminHi,
Currently WordPress 4.9.8 is running Download Monitor 4.1.1 on a PHP 7.1 server.
Forum: Plugins
In reply to: [Download Monitor] No Add file in adminNope, just settings and extensions…
Sure.
Where should I send it?Hi,
I did it through this explanation:
https://wordpress.org/support/topic/activation-email-8/Hi 100jkl,
You should use
add_filter ( 'wppb_register_user_email_subject_without_admin_approval', 'wppbc_custom_email_confirmation_success_subject', 20, 4 ); function wppbc_custom_email_confirmation_success_subject($user_message_content, $email, $password, $user_message_subject, $context ){ $new_message = 'This is my new email body. This is your email address ' . $email . '. Thank you for registering.'; return $new_message; }Hi,
Thanks. Can I add it to the newly made (empty) plugin where I added the activation message?
And where should i put the message? Like this?add_filter ( 'wppb_register_user_email_subject_without_admin_approval', 'wppbc_custom_email_confirmation_success_subject', 20, 4 ); function wppbc_custom_email_confirmation_success_subject($user_message_content, $email, $password, $user_message_subject, $context ){ $new_message = sprintf( __( "My custom text here" ); return 'new_message'; }Finally, how can I incorporate the user e-mail and passwordin the custom text?
Hope to hear from you soon.
Best regards,Victor
Viewing 6 replies - 1 through 6 (of 6 total)