Changeset 53877 for trunk/src/wp-includes/class-wp-block-type.php
- Timestamp:
- 08/11/2022 02:01:35 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-block-type.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-type.php
r53268 r53877 55 55 * 56 56 * @since 5.5.0 57 * @var array|null57 * @var string[]|null 58 58 */ 59 59 public $parent = null; … … 64 64 * 65 65 * @since 6.0.0 66 * @var array|null66 * @var string[]|null 67 67 */ 68 68 public $ancestor = null; … … 113 113 * 114 114 * @since 5.8.0 115 * @var array 115 * @var array[] 116 116 */ 117 117 public $variations = array(); … … 153 153 * 154 154 * @since 5.5.0 155 * @var array155 * @var string[] 156 156 */ 157 157 public $uses_context = array(); … … 161 161 * 162 162 * @since 5.5.0 163 * @var array|null163 * @var string[]|null 164 164 */ 165 165 public $provides_context = null; … … 240 240 * @type string|null $category Block type category classification, used in 241 241 * search interfaces to arrange block types by category. 242 * @type array|null$parent Setting parent lets a block require that it is only242 * @type string[]|null $parent Setting parent lets a block require that it is only 243 243 * available when nested within the specified blocks. 244 * @type array|null$ancestor Setting ancestor makes a block available only inside the specified244 * @type string[]|null $ancestor Setting ancestor makes a block available only inside the specified 245 245 * block types at any position of the ancestor's block subtree. 246 246 * @type string|null $icon Block type icon. … … 249 249 * result in search interfaces. 250 250 * @type string|null $textdomain The translation textdomain. 251 * @type array $styles Alternative block styles.252 * @type array $variations Block variations.251 * @type array[] $styles Alternative block styles. 252 * @type array[] $variations Block variations. 253 253 * @type array|null $supports Supported features. 254 254 * @type array|null $example Structured data for the block preview. 255 255 * @type callable|null $render_callback Block type render callback. 256 256 * @type array|null $attributes Block type attributes property schemas. 257 * @type array$uses_context Context values inherited by blocks of this type.258 * @type array|null$provides_context Context provided by blocks of this type.257 * @type string[] $uses_context Context values inherited by blocks of this type. 258 * @type string[]|null $provides_context Context provided by blocks of this type. 259 259 * @type string|null $editor_script Block type editor only script handle. 260 260 * @type string|null $script Block type front end and editor script handle.
Note: See TracChangeset
for help on using the changeset viewer.