WP_REST_Search_Handler::get_subtypes

Advertisement

Summery Summery

Gets the object subtypes managed by this search handler.

Syntax Syntax

WP_REST_Search_Handler::get_subtypes()

Return Return

(array) Array of object subtype identifiers.

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.