[英]check if user activated their account via email and display message after clicking on activation link PHP/JavaScript
[英]Wordpress: How to add a post request after the user confirmed the email and activated the account?
尊重所有wp模式,安全性和更新。 也许已经有一个插件可以执行此操作了。我找不到任何插件。
我看到可以使用一个钩子USER_REGISTRATION_COMPLETE
,我想知道编辑wp代码的一般方法是什么。 我应该创建自己的插件吗? 谢谢
您可以在主题的functions.php文件中使用它
add_action( 'user_register', 'action_after_user_register', 10, 1 );
function action_after_user_register( $user_id ) {
//Do Some Things
}
当链接到Odoo系统时,我使用此功能成功。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.