Changes between Version 1 and Version 2 of Ticket #62705, comment 4
- Timestamp:
- 12/19/2024 12:47:54 PM (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #62705, comment 4
v1 v2 74 74 'label' => __( 'Current date', 'bbe' ), 75 75 'get_value_callback' => function ( array $source_args, $block_instance ) { 76 if ( empty( $source_args['format'] ) || 'D' !== $source_args['format'] ) { 77 return ''; 78 } 76 79 return gmdate( $source_args['format'] ); 77 80 },