Registers a block support.
Parameters
$block_support_namestringrequired- Block support name.
$block_support_configarrayrequired- Array containing the properties of the block support.
Source
public function register( $block_support_name, $block_support_config ) {
$this->block_supports[ $block_support_name ] = array_merge(
$block_support_config,
array( 'name' => $block_support_name )
);
}
Changelog
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.