WP_REST_Post_Format_Search_Handler::__construct()publicWP 5.6.0

Constructor.

Method of the class: WP_REST_Post_Format_Search_Handler{}

No Hooks.

Return

null. Nothing.

Usage

$WP_REST_Post_Format_Search_Handler = new WP_REST_Post_Format_Search_Handler();
$WP_REST_Post_Format_Search_Handler->__construct();

Changelog

Since 5.6.0 Introduced.

WP_REST_Post_Format_Search_Handler::__construct() code WP 6.1.1

public function __construct() {
	$this->type = 'post-format';
}