WordPress at Your Fingertips
function is not described

WP_REST_Search_Handler::get_subtypes() public WP 5.0.0

Gets the object subtypes managed by this search handler.

{} It's a method of the class: WP_REST_Search_Handler{}

No Hooks.

Return

Array. Array of object subtype identifiers.

Usage

$WP_REST_Search_Handler = new WP_REST_Search_Handler();
$WP_REST_Search_Handler->get_subtypes();

Code of WP_REST_Search_Handler::get_subtypes() WP 5.8.3

public function get_subtypes() {
	return $this->subtypes;
}