wp_request
Access any WordPress REST API endpoint by providing a path relative to /wp-json. Use custom HTTP methods and bodies to handle routes beyond standard tools.
Instructions
Escape hatch for any other WP REST API route. Path must start with '/' and be relative to /wp-json (e.g. '/wp/v2/comments').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | ||
| method | No |