@@ -309,7 +309,7 @@ class WP_Block_Type {
309309 * Deprecated the `editor_script`, `script`, `view_script`, `editor_style`, and `style` properties.
310310 * @since 6.3.0 Added the `selectors` property.
311311 * @since 6.4.0 Added the `block_hooks` property.
312- * @since 6.5.0 Added the `allowed_blocks`, `variation_callback`, and `view_style_handles` properties.
312+ * @since 6.5.0 Added the `allowed_blocks`, `variation_callback`, `view_script_module_ids`, and `view_style_handles` properties.
313313 *
314314 * @see register_block_type()
315315 *
@@ -318,37 +318,38 @@ class WP_Block_Type {
318318 * Optional. Array or string of arguments for registering a block type. Any arguments may be defined,
319319 * however the ones described below are supported by default. Default empty array.
320320 *
321- * @type string $api_version Block API version.
322- * @type string $title Human-readable block type label.
323- * @type string|null $category Block type category classification, used in
324- * search interfaces to arrange block types by category.
325- * @type string[]|null $parent Setting parent lets a block require that it is only
326- * available when nested within the specified blocks.
327- * @type string[]|null $ancestor Setting ancestor makes a block available only inside the specified
328- * block types at any position of the ancestor's block subtree.
329- * @type string[]|null $allowed_blocks Limits which block types can be inserted as children of this block type.
330- * @type string|null $icon Block type icon.
331- * @type string $description A detailed block type description.
332- * @type string[] $keywords Additional keywords to produce block type as
333- * result in search interfaces.
334- * @type string|null $textdomain The translation textdomain.
335- * @type array[] $styles Alternative block styles.
336- * @type array[] $variations Block variations.
337- * @type array<string, string|array<string, string>> $selectors Custom CSS selectors for theme.json style generation.
338- * @type array|null $supports Supported features.
339- * @type array|null $example Structured data for the block preview.
340- * @type callable|null $render_callback Block type render callback.
341- * @type callable|null $variation_callback Block type variations callback.
342- * @type array|null $attributes Block type attributes property schemas.
343- * @type string[] $uses_context Context values inherited by blocks of this type.
344- * @type string[]|null $provides_context Context provided by blocks of this type.
345- * @type string[] $block_hooks Block hooks.
346- * @type string[] $editor_script_handles Block type editor only script handles.
347- * @type string[] $script_handles Block type front end and editor script handles.
348- * @type string[] $view_script_handles Block type front end only script handles.
349- * @type string[] $editor_style_handles Block type editor only style handles.
350- * @type string[] $style_handles Block type front end and editor style handles.
351- * @type string[] $view_style_handles Block type front end only style handles.
321+ * @type string $api_version Block API version.
322+ * @type string $title Human-readable block type label.
323+ * @type string|null $category Block type category classification, used in
324+ * search interfaces to arrange block types by category.
325+ * @type string[]|null $parent Setting parent lets a block require that it is only
326+ * available when nested within the specified blocks.
327+ * @type string[]|null $ancestor Setting ancestor makes a block available only inside the specified
328+ * block types at any position of the ancestor's block subtree.
329+ * @type string[]|null $allowed_blocks Limits which block types can be inserted as children of this block type.
330+ * @type string|null $icon Block type icon.
331+ * @type string $description A detailed block type description.
332+ * @type string[] $keywords Additional keywords to produce block type as
333+ * result in search interfaces.
334+ * @type string|null $textdomain The translation textdomain.
335+ * @type array[] $styles Alternative block styles.
336+ * @type array[] $variations Block variations.
337+ * @type array<string, string|array<string, string>> $selectors Custom CSS selectors for theme.json style generation.
338+ * @type array|null $supports Supported features.
339+ * @type array|null $example Structured data for the block preview.
340+ * @type callable|null $render_callback Block type render callback.
341+ * @type callable|null $variation_callback Block type variations callback.
342+ * @type array|null $attributes Block type attributes property schemas.
343+ * @type string[] $uses_context Context values inherited by blocks of this type.
344+ * @type string[]|null $provides_context Context provided by blocks of this type.
345+ * @type string[] $block_hooks Block hooks.
346+ * @type string[] $editor_script_handles Block type editor only script handles.
347+ * @type string[] $script_handles Block type front end and editor script handles.
348+ * @type string[] $view_script_handles Block type front end only script handles.
349+ * @type string[] $view_script_module_ids Block type front end only script module IDs.
350+ * @type string[] $editor_style_handles Block type editor only style handles.
351+ * @type string[] $style_handles Block type front end and editor style handles.
352+ * @type string[] $view_style_handles Block type front end only style handles.
352353 * }
353354 */
354355 public function __construct ( $ block_type , $ args = array () ) {
0 commit comments