- Timestamp:
- 09/12/2023 03:21:02 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-post-meta-fields.php
r56075 r56559 2743 2743 'type' => 'boolean', 2744 2744 'show_in_rest' => true, 2745 'sanitize_callback' => static function ( $value ) {2745 'sanitize_callback' => static function ( $value ) { 2746 2746 return $value ? '1' : '0'; 2747 2747 },
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)