WordPress at a glance
function is not described

WP_REST_Search_Handler::get_type() public WP 5.0.0

Gets the object type managed by this search handler.

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

No Hooks.

Return

String. Object type identifier.

Usage

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

Changelog

Since 5.0.0 Introduced.

Code of WP_REST_Search_Handler::get_type() WP 5.6

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