WP_REST_Post_Format_Search_Handler::prepare_item_links( string $id ): array

In this article

Prepares links for the search result.

Parameters

$idstringrequired
Item ID, the post format slug.

Return

array Links for the given item.

Source

public function prepare_item_links( $id ) {
	return array();
}

Changelog

VersionDescription
5.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.