File "class-wp-rest-search-handler.php"
Full path: /home/kosmetik/public_html/wp-includes/rest-api/search/class-wp-rest-search-handler.php
File
size: 509 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?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);
}