Request for filter
-
Hello,
We’re using the free version of the plugin in combination with a BBPress forum and it works very well for us.
The filters you’ve made available for the default messages that get sent out are very helpful and we’ve used them to make some adjustments to the notification emails.
We wanted to adjust the message sent to users after they have submitted their registration. However, currently (version 1.9.1) there are no filters applied to that message. Would it be possible to add a filter for this? We’d be very grateful.
This is the relevant piece of code in \includes\messages.php:
function nua_default_registeration_welcome_email() { $message = __('Hello,', "new-user-approve") . "\r\n\r\n"; $message .= __("Thank you for registering on our site. We have successfully received your request and is currently pending for approval.", "new-user-approve") . "\r\n"; $message .= __("The administrator will review the information that has been submitted after which they will either approve or deny your request. You will receive an email with the instructions on what you will need to do next.", "new-user-approve") . "\r\n\r\n"; $message .= __("Thank You", "new-user-approve"); return $message; }I hope you can help.
Many thanks in advance!
-
Hi @dvaer,
Thanks for using the New User Approve plugin, the filter Hook for modifying the welcome email is available in the new-user-approve.php #586.
Filter Hook
new_user_approve_welcome_user_messageArguments
$message, $user_emailPlease check.
Thanks
-
This reply was modified 5 years, 1 month ago by
wpexpertssupportteam.
Got it, thank you very much!
Yes, will do. Thank you again.
-
This reply was modified 5 years, 1 month ago by
The topic ‘Request for filter’ is closed to new replies.