WP_REST_Search_Handler::get_subtypes()

Gets the object subtypes managed by this search handler.


Return

(string[]) Array of object subtype identifiers.


Source

File: wp-includes/rest-api/search/class-wp-rest-search-handler.php

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

Changelog

Changelog
Version Description
5.0.0 Introduced.