WP_REST_Response::get_links()
Retrieves links for the response.
{} It's a 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. |
Code of WP_REST_Response::get_links() WP REST Response::get links WP 5.9.3
public function get_links() { return $this->links; }