This library provides you abstract classes and helper functions for developing custom WordPress blocks, building modern wp-admin pages or extending core/3rd party blocks.
TODO: Test and document this class.
TODO: Test and document this class.
get_block_style( array $block ): ?string
: Returns the applied block style for a block.
A utility class with methods to register and enqueue scripts/styles which were built with the @wordpress/scripts
package.
It makes registering scripts which have a .asset.php
file easier.