The WordPress block editor (a.k.a. Gutenberg) communicates with the database via the WordPress REST API. We can read and write post meta from within the Gutenberg editor after we enable the specific post meta field in the WordPress REST API.
WordPress Post Meta
Introduction to Post Meta
Extending WordPress Posts By default, WordPress posts include a Title and the Content. If we want to store additional information with a post, we need to store it somewhere. In this example, I want to look at adding a Subtitle to a post. I’ve presented this topic at conferences and the slides for my Introduction […]
CMB2 Dependency with Composer
Here is the short answer for how I installed CMB2 as a dependency with Composer for my plugin.