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

Add detailed descriptions about validate_callback in REST API(adding-custom-endpoints.md) #195

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fumikito
Copy link

@fumikito fumikito commented Nov 28, 2024

will closes #194

  • Add WP_Error as return value of validate_callback
  • Add detailed description that how WordPress recognizes falsy return value of validate_callback.

WP-API#194

- Add return value for validate_callback
- Add detailed description for falsy return value.
@fumikito fumikito changed the title Update adding-custom-endpoints.md Add detailed descriptions about validate_callback in REST API(adding-custom-endpoints.md) Nov 28, 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

Successfully merging this pull request may close these issues.

Needs more detailed descriptions about validate_callback in WP REST API
1 participant