WP_REST_Search_Handler::get_type

Advertisement

Summery Summery

Gets the object type managed by this search handler.

Syntax Syntax

WP_REST_Search_Handler::get_type()

Return Return

(string) Object type identifier.

Source Source

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

	public function get_type() {
		return $this->type;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Advertisement

Leave a Reply