Summery Summery
Constructor.
Syntax Syntax
Description Description
Will populate object properties from the provided arguments.
Parameters Parameters
- $block_type
-
(Required) Block type name including namespace.
- $args
-
(Optional) Array or string of arguments for registering a block type.
Default value: array()
Source Source
File: wp-includes/class-wp-block-type.php
/** * Block type render callback. * * @since 5.0.0 * @var callable
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Introduced. |