Fix typo in the Exposing your data in the Store API documentation (#43488)

* Fix basic usage code snippet example in extend-rest-api-add-data.md

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Ramon Ahnert 2024-05-13 05:20:07 -03:00 committed by GitHub
parent b28adc1703
commit 49c379c5a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -55,10 +55,10 @@ function my_schema_callback() {
return [
'custom-key' => [
'description' => __( 'My custom data', 'plugin-namespace' ),
'type' => 'string'
'type' => 'string',
'readonly' => true,
]
]
];
}
```

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
This PR fixes a minor typo in the Exposing your data in the Store API doc.