WP_REST_Search_Handler::prepare_item_links( int $id )

Prepares links for the search result of a given ID.

Parameters Parameters


(int) (Required) Item ID.

Top ↑

Return Return

(array) Links for the given item.

Top ↑

Source Source

File: wp-includes/rest-api/search/class-wp-rest-search-handler.php

	abstract public function prepare_item_links( $id );

Top ↑

Changelog Changelog

Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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