BlockTypesController
BlockTypesController class.
Description Description
Source Source
File: packages/woocommerce-blocks/src/BlockTypesController.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |
Methods Methods
- __construct — Constructor.
- get_atomic_blocks — Get atomic blocks types.
- get_block_types — Get list of block types.
- init — Initialize class features.
- redirect_to_field — Adds a redirect field to the login form so blocks can redirect users after login.
- register_blocks — Register blocks, hooking up assets and render functions as needed.