Squizz filter wp_new_user_notification
-
Hello I just updated your plugin and my filter on the hook “wp_new_user_notification_email_admin” no longer works 🙁
It would have been better not to squizze with native filters I think.
Meanwhile for those who have a similar problem I commented this part in the classes / class-loginpress-custom-password.php files:/ * function wp_new_user_notification ($ user_id, $ notify = '') { $ prevent_from = apply_filters ('loginpress_prevent_new_user_notification_email', array ()); if (! in_array ('prevent_admin', $ prevent_from)) { LoginPresss_Custom_Password :: loginpress_new_user_reg_notification_to_admin ($ user_id); } if (! in_array ('prevent_user', $ prevent_from)) { LoginPresss_Custom_Password :: loginpress_new_user_reg_notification_to_user ($ user_id); } } * /
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Squizz filter wp_new_user_notification’ is closed to new replies.