Stay on top with regular WordPress updates.
Subscribe to our newsletter(s) and get the latest stories in your mailbox!
Stay on top with regular WordPress updates.
Subscribe to our newsletter(s) and get the latest stories in your mailbox!
Last year’s proposal to stop merging experimental APIs from Gutenberg to WordPress Core is now mostly implemented.
To recap: Due to JavaScript technical limitations, the recurring merge of the Gutenberg plugin to WordPress core led to a premature release of many experimental APIs.
After a long discussion and discovery process, Gutenberg introduced a distinction between Plugin-only APIs and Private APIs.
Plugin-only APIs
Plugin-only APIs are like early access feature previews that require community feedback to mature. They are only released as a part of the Gutenberg plugin and not merged into WordPress core. It’s implemented as follows:
// Using IS_GUTENBERG_PLUGIN
This is the first part of the article