Prepares the search result for a given ID.
Parameters
$id
int|stringrequired- Item ID.
$fields
arrayrequired- Fields to include for the item.
Source
abstract public function prepare_item( $id, array $fields );
Prepares the search result for a given ID.
$id
int|stringrequired$fields
arrayrequiredabstract public function prepare_item( $id, array $fields );
User Contributed Notes
You must log in before being able to contribute a note or feedback.