What it does
A short Cursor rules file for a WordPress plugin that uses a Guzzle-based HTTP client, adds WP REST endpoints and ships new Gutenberg blocks. It asks for WordPress coding standards, typed PHP, TypeScript over JavaScript and readable, functional code.
Use cases
- 01Add a REST endpoint to a WordPress plugin
- 02Call an external API through a Guzzle client
- 03Create a new Gutenberg block in TypeScript