- Timestamp:
- 02/07/2023 08:53:01 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r54870 r55248 250 250 'parent_exclude' => 'post_parent__not_in', 251 251 'search' => 's', 252 'search_columns' => 'search_columns', 252 253 'slug' => 'post_name__in', 253 254 'status' => 'post_status', … … 2892 2893 } 2893 2894 2895 $query_params['search_columns'] = array( 2896 'default' => array(), 2897 'description' => __( 'Array of column names to be searched.' ), 2898 'type' => 'array', 2899 'items' => array( 2900 'enum' => array( 'post_title', 'post_content', 'post_excerpt' ), 2901 'type' => 'string', 2902 ), 2903 ); 2904 2894 2905 $query_params['slug'] = array( 2895 2906 'description' => __( 'Limit result set to posts with one or more specific slugs.' ),
Note: See TracChangeset
for help on using the changeset viewer.