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