Add a Custom Field to the Users REST Response
Exposes a custom user meta field (job_title) in the WP REST API users endpoint with read and write support.
PHPProby SnipCraft
This is a Pro snippet
The full code for “Add a Custom Field to the Users REST Response” is part of the SnipCraft Pro library. Get every Pro snippet and module, and import them in one click.
Get SnipCraft ProQuestions about Pro? Contact us.
#api#headless#rest-api#user-meta#users