WordPress Expert — Medium
Key points
- 'show_in_rest' => true enables REST API exposure
- Meta key details are registered for use in the block editor
- 'meta' property of the post object in REST API response
- Type, sanitize callback, and auth callback are included
Ready to go further?
Related questions
