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

rest_insert_user use paramter to check for creation #46

Closed
JUVOJustin opened this issue Mar 18, 2024 · 0 comments
Closed

rest_insert_user use paramter to check for creation #46

JUVOJustin opened this issue Mar 18, 2024 · 0 comments

Comments

@JUVOJustin
Copy link
Owner

Currently, the trigger is executed for every rest_insert_user call. The callback does not check if it is an update or a creation.

https://developer.wordpress.org/reference/hooks/rest_insert_user/

JUVOJustin added a commit that referenced this issue Apr 8, 2024
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