Title: DK Headless API
Author: digitized kosmos
Published: <strong>જૂન 29, 2026</strong>
Last modified: જૂન 30, 2026

---

પ્લગીન શોધો

![](https://ps.w.org/dk-headless-api/assets/banner-772x250.png?rev=3591897)

![](https://ps.w.org/dk-headless-api/assets/icon-256x256.png?rev=3591897)

# DK Headless API

 [digitized kosmos](https://profiles.wordpress.org/digitizedkosmos/) દ્વારા

[ડાઉનલોડ](https://downloads.wordpress.org/plugin/dk-headless-api.1.0.1.zip)

 * [વિગતો](https://gu.wordpress.org/plugins/dk-headless-api/#description)
 * [સમીક્ષાઓ](https://gu.wordpress.org/plugins/dk-headless-api/#reviews)
 *  [સ્થાપન](https://gu.wordpress.org/plugins/dk-headless-api/#installation)
 * [ડેવલપમેન્ટ](https://gu.wordpress.org/plugins/dk-headless-api/#developers)

 [સપોર્ટ](https://wordpress.org/support/plugin/dk-headless-api/)

## વર્ણન

#### Quick Answer: What is DK Headless API?

DK Headless API is a professional-grade framework that decouples WordPress by disabling
the frontend theme layer, prunes default REST endpoints to prevent data scraping,
and exposes a secure, high-performance API namespace (`dk/v1`) designed specifically
for modern frontend engines (Next.js, React, Astro, Vue, Svelte).

#### Key Takeaways

 * **Instant Decoupling**: Turns off the theme template engine (returning `410 Gone`)
   and dequeues all frontend scripts.
 * **ACF & Gutenberg Integration**: Natively embeds Advanced Custom Fields (ACF)
   data and parses Gutenberg blocks into clean API payloads.
 * **Advanced Caching**: Implements smart transient caching that auto-invalidates
   when posts are updated or deleted.
 * **Security & Rate Limiting**: Features dynamic API Key generation (`X-DK-API-
   Key`) and daily request limiters per IP/key.
 * **Tree-Menu Resolver**: Translates complex WP menu hierarchies into clean nested
   JSON trees.

#### Why Go Headless with WordPress?

Monolithic WordPress sites face constant performance overheads, plugin bloat, and
security vulnerabilities. Decoupling WordPress allows you to use it purely as a 
content editor while rendering your frontend on edge servers. This results in:
 
1. **Sub-second Load Times**: Serving static HTML via CDNs. 2. **Improved Security**:
Hiding the WP database and admin panel behind custom api restrictions. 3. **Better
Developer Experience**: Allowing front-end engineering teams to build with modern
UI libraries.

#### Feature Comparison Table

 Feature
 Standard WordPress REST DK Headless API

 **Frontend Deactivator**
 No (requires manual code/redirects) Yes (410 Status +
asset dequeuer)

 **Endpoint Security**
 Public (scrapers can access `/users`) REST Pruning & API
Key restrictions

 **ACF Field Resolution**
 Requires separate helper plugins Native & embedded out-
of-the-box

 **Menu Hierarchy**
 Flat arrays (hard to parse) Smart tree resolver (nested JSON)

 **Smart Transient Cache**
 None (requires external DB queries) Caching with auto-
invalidation on save

 **Rate Limiter**
 No rate protection Daily rate limiting per client IP/Key

#### 🚀 Need Help Designing Your Headless Architecture?

Decoupling WordPress can introduce complex challenges regarding static site generation(
SSG), incremental static revalidation (ISR), CORS handling, and preview modes.

If you are an agency, founder, or marketing team looking to build a high-performance
headless architecture:
 * **Book a Free 30-Minute Strategy Session** with the Digitized
Kosmos engineering team. * We will audit your current endpoints, optimize your server-
side configurations, and help blueprint your Next.js/React revalidation flow. * 
👉 **[Schedule Free Consultation](https://digitizedkosmos.com/contact?source=wp-plugin-readme)**

### Action Checklist for a Successful Headless Launch

 * [ ] Verify that your REST API namespace (`dk/v1`) is accessible.
 * [ ] Configure your CORS allowed origin to match your frontend domain.
 * [ ] Generate a developer API key and verify header auth.
 * [ ] Add your redirect Frontend URL so visitors are guided to your app.
 * [ ] Test post-update callbacks to confirm transient cache invalidation.

## સ્ક્રીનશોટ

[⌊General Settings Dashboard: Toggle the frontend disabler, configure CORS headers,
and view active API routes.⌉⌊General Settings Dashboard: Toggle the frontend disabler,
configure CORS headers, and view active API routes.⌉[

**General Settings Dashboard**: Toggle the frontend disabler, configure CORS headers,
and view active API routes.

[⌊API Authentication Tab: Enforce secure access, generate secure API keys, and manage
client permissions.⌉⌊API Authentication Tab: Enforce secure access, generate secure
API keys, and manage client permissions.⌉[

**API Authentication Tab**: Enforce secure access, generate secure API keys, and
manage client permissions.

[⌊Content Exposure: Control exactly which default endpoints and Custom Post Types
are exposed publicly.⌉⌊Content Exposure: Control exactly which default endpoints
and Custom Post Types are exposed publicly.⌉[

**Content Exposure**: Control exactly which default endpoints and Custom Post Types
are exposed publicly.

[⌊Cache & Rate Limiting Settings: Optimize performance using transient caching and
daily request limit metrics.⌉⌊Cache & Rate Limiting Settings: Optimize performance
using transient caching and daily request limit metrics.⌉[

**Cache & Rate Limiting Settings**: Optimize performance using transient caching
and daily request limit metrics.

[⌊Exposed APIs Reference Table: View the full list of active endpoint URLs generated
by your exposure settings.⌉⌊Exposed APIs Reference Table: View the full list of 
active endpoint URLs generated by your exposure settings.⌉[

**Exposed APIs Reference Table**: View the full list of active endpoint URLs generated
by your exposure settings.

## સ્થાપન

#### Step-by-Step Framework

 1. **Upload & Install**: Upload the folder to your `/wp-content/plugins/` directory,
    or install directly via the WordPress Plugin search.
 2. **Activation**: Activate the plugin.
 3. **Configure Settings**: Go to **Settings > DK Headless API** in your WP Admin Dashboard.
 4. **Setup CORS**: Enter your Frontend URL (e.g. `https://myfrontend.com`) in the 
    General Settings to allow secure CORS headers.
 5. **Secure Your Endpoint**: Toggle API Key enforcement, generate an authorization
    key, and configure your daily rate limits.

## એફએક્યુ (FAQ)

### Does this disable the Gutenberg editor?

No. The WP Admin dashboard, block editor, Gutenberg previews, login paths, and essential
admin REST interfaces are preserved. Only the front-facing theme pages are deactivated.

### How do I pass the API Key from Next.js / React?

If you toggle “Require API Key” in the settings, send the key inside your request
headers:
 X-DK-API-Key: your_generated_key_here

### Can I use this plugin for free commercially?

Yes. The plugin is 100% free, fully functional, and licensed under GPLv2. We do 
not place quota limits, license-locking mechanisms, or trial periods inside the 
codebase. All pro feature enhancements live in separate addon branches.

### How do I clear the cache?

The cache engine clears automatically when posts, pages, or custom post types are
published, updated, trashed, or deleted. You do not need to manage it manually.

### Does it support WooCommerce?

It supports core custom post type exposure out-of-the-box. Advanced ecommerce integrations(
cart hooks, checkout gateways) are best handled using custom controllers or dedicated
headless addons.

## સમીક્ષાઓ

આ પ્લગઇન માટે કોઈ સમીક્ષાઓ નથી.

## ફાળો આપનાર & ડેવલપર્સ

આ ઓપન સોર્સ સોફ્ટવેર છે. નીચેના લોકો એ આ પ્લગિન માટે ફાળો આપ્યો છે.

ફાળો આપનારા

 *   [ digitized kosmos ](https://profiles.wordpress.org/digitizedkosmos/)

[“DK Headless API” ને તમારી ભાષામાં અનુવાદ કરો.](https://translate.wordpress.org/projects/wp-plugins/dk-headless-api)

### વિકાસમાં રસ ધરાવો છો?

[કોડ બ્રાઉઝ કરો](https://plugins.trac.wordpress.org/browser/dk-headless-api/), જોવો
[અસ્વીએન રેપોઝિટરીમાંથી](https://plugins.svn.wordpress.org/dk-headless-api/),અથવા
સબ્સ્ક્રાઇબ કરો[ડેવલપમેન્ટ](https://plugins.trac.wordpress.org/log/dk-headless-api/)
દ્વારા[આરઅસઅસ](https://plugins.trac.wordpress.org/log/dk-headless-api/?limit=100&mode=stop_on_copy&format=rss).

## ચેન્જલૉગ

#### 1.0.1

 * Renamed namespaces and option prefixes to dkhwp_ and DKHWP\ to fully comply with
   WordPress.org guidelines.
 * Improved security checks for cached REST endpoints in rest_pre_dispatch.
 * Strengthened URL input sanitization using esc_url_raw().
 * Hardened rate limiting transient keys generation against IP/Key attacks.
 * Implemented dynamic developer API Key generator in admin pages.
 * Added custom Next.js headless consultation admin notice on settings pages.
 * Added fully compliant icons and banners to repository assets.

#### 1.0.0

 * Initial release of DK Headless API.
 * Decoupled frontend template engine (`410 Gone`).
 * REST endpoint pruning for secure public access.
 * Built-in ACF custom fields resolver.
 * Built-in smart transient caching with hooks-based flushing.
 * Custom Next.js-ready nested tree-menu parser.
 * Multi-key authentication manager.
 * Daily IP/Key rate limiter.

## મેટા

 *  વર્ઝન **1.0.1**
 *  છેલ્લી અપડેટ: **4 મહિના પહેલા**
 *  સક્રિય સ્થાપનો: **10 કરતા ઓછા**
 *  વર્ડપ્રેસ વર્ઝન ** 6.0 અથવા ઉચ્ચતર **
 *  **7.0.7** સુધી પરીક્ષણ કર્યું
 *  PHP સંસ્કરણ ** 8.0 અથવા ઉચ્ચતર **
 *  ભાષા
 * [English (US)](https://wordpress.org/plugins/dk-headless-api/)
 * ટૅગ્સ:
 * [cms](https://gu.wordpress.org/plugins/tags/cms/)[headless](https://gu.wordpress.org/plugins/tags/headless/)
   [nextjs](https://gu.wordpress.org/plugins/tags/nextjs/)[react](https://gu.wordpress.org/plugins/tags/react/)
   [rest-api](https://gu.wordpress.org/plugins/tags/rest-api/)
 *  [વિગતવાર દૃશ્ય](https://gu.wordpress.org/plugins/dk-headless-api/advanced/)

## પૉઇન્ટ્સ

હજુ સુધી કોઈ સમીક્ષા સબમિટ કરવામાં આવી નથી.

[તમારા અભિપ્રાયો](https://wordpress.org/support/plugin/dk-headless-api/reviews/#new-post)

[બધા  સમીક્ષાઓ જુઓ](https://wordpress.org/support/plugin/dk-headless-api/reviews/)

## ફાળો આપનારા

 *   [ digitized kosmos ](https://profiles.wordpress.org/digitizedkosmos/)

## સપોર્ટ

કંઈક કહેવું છે? મદદ જોઈએ છે?

 [આધાર ફોરમ જુઓ](https://wordpress.org/support/plugin/dk-headless-api/)

## દાન

શું તમે આ પ્લગિનની પ્રગતિને સમર્થન આપવા માંગો છો?

 [ આ પ્લગિનને દાન કરો ](https://digitizedkosmos.com/)