| 开发者 |
aladilashrafi
anytv |
|---|---|
| 更新时间 | 2026年6月13日 22:00 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
POST /contact endpoint with built-in rate limiting, inbox storage, and email notifications.headless-portfolio-cms.zip file.No! This is a headless CMS plugin, making it completely theme-agnostic. Your WordPress installation merely acts as the database and API provider.
Simply go to Portfolio CMS > Settings > API & CORS, add your frontend's URL to the Allowed Origins list, and start making GET requests to the endpoints shown in the Dashboard or API Reference.
The plugin provides a configuration setting for API Cache Duration, which you can use in conjunction with your frontend caching strategies (like Next.js ISR).
Go to Portfolio CMS > Settings, enter your frontend's URL and a revalidation secret token. Whenever you publish or update content, the plugin will automatically call your frontend's /api/revalidate endpoint to purge the relevant cached pages.
Send a POST request to wp-json/hpcms/v1/contact with a JSON body containing name, email, subject, message, and optionally budget. Submissions are saved to the Contact Inbox in the dashboard and forwarded to your configured notification email. The endpoint is rate-limited to 5 requests per IP per hour.