DK Headless API

Plugin Banner

DK Headless API

by digitized kosmos

Download
Description

DK API transforms WordPress into a clean, controlled API backend by disabling the frontend theme layer entirely, selectively removing default WP REST API routes, and registering a clean, versioned custom REST namespace.

Core Features

  • Fully disables the WordPress frontend.
  • Preserves Gutenberg compatibility while removing unnecessary endpoints.
  • Exposes clean endpoints for Posts, Pages, Categories, Taxonomies, and Menus.
  • Built-in structured block parsing for WordPress 7.0 readiness.
  • Resolves Advanced Custom Fields (ACF) natively in API responses.
  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Configure the plugin in the Settings > DK Headless API menu.
  1. <strong>General Settings Dashboard</strong>: 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.

  2. <strong>API Authentication Tab</strong>: 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.

  3. <strong>Content Exposure</strong>: 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.

  4. <strong>Cache & Rate Limiting Settings</strong>: Optimize performance using transient caching and daily request limit metrics.

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

  5. <strong>Exposed APIs Reference Table</strong>: 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.

Does this disable the WP Admin?

No, the WP Admin and Gutenberg editors remain fully functional. Only the frontend is disabled (returning 410 Gone or custom message).

1.0.0

  • Initial release.
Back to top