Changeset 54263 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php
- Timestamp:
- 09/20/2022 04:27:44 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php
r53302 r54263 125 125 'viewportWidth' => 'viewport_width', 126 126 'blockTypes' => 'block_types', 127 'postTypes' => 'post_types', 127 128 'categories' => 'categories', 128 129 'keywords' => 'keywords', … … 186 187 'context' => array( 'view', 'edit', 'embed' ), 187 188 ), 189 'post_types' => array( 190 'description' => __( ' An array of post types that the pattern is restricted to be used with.' ), 191 'type' => 'array', 192 'readonly' => true, 193 'context' => array( 'view', 'edit', 'embed' ), 194 ), 188 195 'categories' => array( 189 196 'description' => __( 'The pattern category slugs.' ),
Note: See TracChangeset
for help on using the changeset viewer.