Zum Inhalt springen
Kitbay
Einreichen

wp-rest-api

GPL-2.0-or-laterAktualisiert am 9. Nov. 20262.352GitHub-Sterne

A WordPress project skill for building or debugging REST API endpoints.

Was der Skill vermittelt

A WordPress project skill for building or debugging REST API endpoints. It covers locating existing REST code, choosing between custom routes and core endpoints, registering routes with namespaces, methods and permission callbacks, validating and sanitising arguments, shaping responses with fields and links, register_rest_field and register_meta, exposing custom post types and taxonomies, authentication, and client behaviour like discovery, pagination and embedding. Reference notes are included.

Funktionen

  • Register REST routes with permission callbacks
  • Validate and sanitise request arguments
  • Add fields and meta to REST responses
  • Expose custom post types over REST