Changeset 48177 for trunk/src/wp-includes/blocks/tag-cloud.php
- Timestamp:
- 06/26/2020 01:31:11 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/tag-cloud.php
r46586 r48177 52 52 */ 53 53 function register_block_core_tag_cloud() { 54 register_block_type (55 'core/tag-cloud',54 register_block_type_from_metadata( 55 __DIR__ . '/tag-cloud', 56 56 array( 57 'attributes' => array(58 'align' => array(59 'type' => 'string',60 'enum' => array( 'left', 'center', 'right', 'wide', 'full' ),61 ),62 'className' => array(63 'type' => 'string',64 ),65 'taxonomy' => array(66 'type' => 'string',67 'default' => 'post_tag',68 ),69 'showTagCounts' => array(70 'type' => 'boolean',71 'default' => false,72 ),73 ),74 57 'render_callback' => 'render_block_core_tag_cloud', 75 58 )
Note: See TracChangeset
for help on using the changeset viewer.