WP_REST_Terms_Controller::prepare_links

SummerySummery

Prepares links for the request.

Syntax

WP_REST_Terms_Controller::prepare_links( WP_Term $term )

ParametersParameters

$term

(WP_Term) (Required) Term object.

ReturnReturn

(array) Links for the given term.

SourceSource

File: wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top