WP_REST_Response::get_links()
Retrieves links for the response.
Method of the class: WP_REST_Response{}
No Hooks.
Return
Array
. List of links.
Usage
$WP_REST_Response = new WP_REST_Response(); $WP_REST_Response->get_links();
Changelog
Since 4.4.0 | Introduced. |
WP_REST_Response::get_links() WP REST Response::get links code WP 6.6.2
public function get_links() { return $this->links; }