Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持ultimatemember的注册登录表单 #11

Open
zx900930 opened this issue May 29, 2022 · 0 comments
Open

支持ultimatemember的注册登录表单 #11

zx900930 opened this issue May 29, 2022 · 0 comments

Comments

@zx900930
Copy link

zx900930 commented May 29, 2022

可用的hooks如下:
https://docs.ultimatemember.com/article/1324-hooks-list
需要重写6个function

add_action( 'um_after_login_fields', 'um_micaptcha_login');
add_action( 'um_submit_form_errors_hook', 'um_micaptcha_login_validate');
add_action( 'um_after_register_fields', 'um_micaptcha_register');
add_action( 'um_submit_form_errors_hook', 'um_micaptcha_register_validate');
add_action( 'um_after_password_reset_fields', 'um_micaptcha_lostpassword');
add_action( 'um_reset_password_errors_hook', 'um_micaptcha_reset_password_validate');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant