You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Plugins can now optionally register a PHP “manifest” file, which includes all the metadata for their block types. For any block type that is being registered, WordPress Core will now check whether such a manifest file is present covering the block type, and if so, it will use the data from the manifest file instead of reading and parsing the block type’s block.json file directly."
The text was updated successfully, but these errors were encountered:
Description
see https://make.wordpress.org/core/2024/10/17/new-block-type-registration-apis-to-improve-performance-in-wordpress-6-7/
It looks like after running
wp-scripts build
we would also run
wp-scripts build-blocks-manifest
With the manifest file generated, you can now register the block metadata collection as follows:
Use Case
"Plugins can now optionally register a PHP “manifest” file, which includes all the metadata for their block types. For any block type that is being registered, WordPress Core will now check whether such a manifest file is present covering the block type, and if so, it will use the data from the manifest file instead of reading and parsing the block type’s block.json file directly."
The text was updated successfully, but these errors were encountered: