WP_REST_Post_Format_Search_Handler::prepare_item_links( string $id )
Prepares links for the search result.
Parameters
- $id
-
(Required) Item ID, the post format slug.
Return
(array) Links for the given item.
Source
File: wp-includes/rest-api/search/class-wp-rest-post-format-search-handler.php
public function prepare_item_links( $id ) {
return array();
}
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |