Changeset 56587 for trunk/src/wp-includes/class-wp-block-type.php
- Timestamp:
- 09/14/2023 01:23:13 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-type.php
r56414 r56587 173 173 */ 174 174 public $provides_context = null; 175 176 /** 177 * Block hooks for this block type. 178 * 179 * A block hook is specified by a block type and a relative position. 180 * The hooked block will be automatically inserted in the given position 181 * next to the "anchor" block whenever the latter is encountered. 182 * 183 * @since 6.4.0 184 * @var array[] 185 */ 186 public $block_hooks = array(); 175 187 176 188 /** … … 255 267 * Deprecated the `editor_script`, `script`, `view_script`, `editor_style`, and `style` properties. 256 268 * @since 6.3.0 Added the `selectors` property. 269 * @since 6.4.0 Added the `block_hooks` property. 257 270 * 258 271 * @see register_block_type() … … 285 298 * @type string[] $uses_context Context values inherited by blocks of this type. 286 299 * @type string[]|null $provides_context Context provided by blocks of this type. 300 * @type array[] $block_hooks Block hooks. 287 301 * @type string[] $editor_script_handles Block type editor only script handles. 288 302 * @type string[] $script_handles Block type front end and editor script handles.
Note: See TracChangeset
for help on using the changeset viewer.