Changeset 57521 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
- Timestamp:
- 02/02/2024 12:59:21 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
r57493 r57521 281 281 'parent', 282 282 'ancestor', 283 'allowed_blocks', 283 284 'provides_context', 284 285 'uses_context', … … 724 725 'readonly' => true, 725 726 ), 727 'allowed_blocks' => array( 728 'description' => __( 'Allowed child block types.' ), 729 'type' => array( 'array', 'null' ), 730 'items' => array( 731 'type' => 'string', 732 'pattern' => self::NAME_PATTERN, 733 ), 734 'default' => null, 735 'context' => array( 'embed', 'view', 'edit' ), 736 'readonly' => true, 737 ), 726 738 'keywords' => $keywords_definition, 727 739 'example' => $example_definition,
Note: See TracChangeset
for help on using the changeset viewer.