WP_REST_Terms_Controller::get_item

SummerySummery

Gets a single term from a taxonomy.

Syntax

WP_REST_Terms_Controller::get_item( WP_REST_Request $request )

ParametersParameters

$request

(WP_REST_Request) (Required) Full details about the request.

ReturnReturn

(WP_REST_Response|WP_Error) Response object on success, or WP_Error object on failure.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top