Some suggestions on filter parameters
-
In this morning,I found that WordPress has released the Version 4.9 and upgraded it immediately.After its upgrade,I found that there are some new filters added which need to be manually added in previous versions.With those filters,I can modify the emails’ subjects and messages that sent to the new users and admin.However,in the filter’wp_new_user_notification_email@pluggable.php:1924′, there might lose a parameter $key. When I rewrite the code that generate the welcome email sent to new registered user, I found that there is no way to retrieve the $key and generate the url for rest the password. Even I can get it from the default message by regular expression, I still hope that WordPress can add this parameter in the future versions for our developers’ convenience.
The topic ‘Some suggestions on filter parameters’ is closed to new replies.