- Timestamp:
- 08/26/2021 12:57:08 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-post-meta-fields.php
r51571 r51657 2709 2709 'type' => 'boolean', 2710 2710 'show_in_rest' => true, 2711 'sanitize_callback' => function( $value ) {2711 'sanitize_callback' => static function( $value ) { 2712 2712 return $value ? '1' : '0'; 2713 2713 },
Note: See TracChangeset
for help on using the changeset viewer.