wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php:297Prepares links for the request.
$collectionWP_Font_Collectionarray protected function prepare_links( $collection ) { return array( 'self' => array( 'href' => rest_url( sprintf( '%s/%s/%s', $this->namespace, $this->rest_base, $collection->slug ) ), ), 'collection' => array( 'href' => rest_url( sprintf( '%s/%s', $this->namespace, $this->rest_base ) ), ), ); }Introduced in 6.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/rest-api/endpoints/class-wp-rest-font-collections-controller.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.