Skip to main content

26 docs tagged with "plugins development"

View all tags

Admin hooks

Create and register hooks in Strapi plugins to let other plugins add personalized behavior to your application.

Admin injection zones

Extend and customize the Strapi admin panel by injecting React components into predefined or custom injection zones.

Admin localization

Provide translations for your Strapi plugin's admin panel interface using registerTrads and react-intl.

Admin navigation & settings

Add menu links, create settings sections, and configure settings links for your Strapi plugin in the admin panel.

Admin Panel API overview

Overview of the Admin Panel API for Strapi plugins, with entry file, lifecycle hooks, and available actions for customizing the admin panel UI.

Content Manager APIs

The Content Manager APIs reference lists the APIs available to plugins for adding actions and options to the Content Manager List view and Edit view.

helper-plugin removed

In Strapi 5, the `helper-plugin` is removed. A whole migration reference is available for plugin developers, and codemods will automatically handle some changes.

lockIcon replaced by licenseOnly

In Strapi 5, the lockIcon property is replaced by licenseOnly, which affects how the addMenuLink(), addSettingsLink(), and addSettingsLinks() methods from the Admin Panel API work.

Plugins extension

Existing plugins can be overriden by placing code in /src/extensions or using global register/bootstrap hooks. Instructions in this documentation cover reshaping plugin content-type schemas or server logic — altough upstream updates may break extensions.

Plugins upgrade summary

The present page is intended to be used as a short summary of everything to consider if you are a plugin developer upgrading your plugin from Strapi v4 to Strapi 5. The page quickly describes the changes affecting plugins and links to additional resources where necessary.

Redux store & reducers

Add custom reducers, read state, dispatch actions, and subscribe to changes in Strapi's admin panel Redux store from your plugin.

Server API for plugins

Overview of the Strapi Server API for plugins, with entry file, lifecycle hooks, routes, controllers, services, policies, middlewares, and configuration.

Server configuration

Define default plugin options, validate user-provided values, and read plugin configuration at runtime.

Server content-types

Declare and register content-types in a Strapi plugin and access them at runtime through the Document Service API.

Server getters & usage

Access and reuse plugin controllers, services, policies, and other server resources using top-level and global getters.

Server lifecycle

Control when plugin server logic runs with register, bootstrap, and destroy lifecycle hooks.

Server routes

Expose plugin endpoints as Content API or admin routes, with full control over auth, policies, and route configuration.