WP_REST_Terms_Controller::prepare_item_for_database

SummerySummery

Prepares a single term for create or update.

Syntax

WP_REST_Terms_Controller::prepare_item_for_database( WP_REST_Request $request )

ParametersParameters

$request

(WP_REST_Request) (Required) Request object.

ReturnReturn

(object) $prepared_term Term object.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top