Registering Custom Post Types – Plugin Handbook | Developer.WordPress.org+

WordPressのカスタムフィールドをREST APIで安全に扱う設計ガイド