What it does
A Cursor rules file that sets the editor up as a WordPress developer. It asks for WordPress Coding Standards, strict PHP types, escaped output, sanitized input and prepared queries, and gives guidance for themes, plugins and Gutenberg blocks.
Use cases
- 01Write plugin code with nonces and capability checks
- 02Build a theme using the template hierarchy
- 03Register REST endpoints for a plugin