WP_REST_Controller::get_object_type

SummerySummery

Retrieves the object type this controller is responsible for managing.

Syntax

WP_REST_Controller::get_object_type()

ReturnReturn

(string) Object type for the controller.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top