WP_REST_Search_Handler::get_type()

Gets the object type managed by this search handler.


Return Return

(string) Object type identifier.


Top ↑

Source Source

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.