Skip to content
WordPress plugin templates

REST API Endpoint Extension

Register custom endpoints in the WordPress REST API with permission callbacks, schema definitions, and sanitization.

Plugin generation prompt

Register custom endpoints in the WordPress REST API with permission callbacks, schema definitions, and sanitization.

How to use this template

Open this prompt in your workspace and adapt the fields, permissions, and behavior to your website. Generate the plugin, inspect its PHP and supporting files, then request any changes you need. Download the ZIP when ready and test it on staging before installation on a live site. This template is a starting brief, not a pre-tested plugin.

Have a different idea? Start with the AI WordPress Plugin Generator and describe your own requirements.