Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
wp-includes
/
rest-api
/
search
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php abstract class WP_REST_Search_Handler { const RESULT_IDS = 'ids'; const RESULT_TOTAL = 'total'; protected $type = ''; protected $subtypes = array(); public function get_type() { return $this->type; } public function get_subtypes() { return $this->subtypes; } public abstract function search_items(WP_REST_Request $request); public abstract function prepare_item($id, array $fields); public abstract function prepare_item_links($id); }