WP_REST_Post_Format_Search_Handler::__construct() public WP 5.6.0
Constructor.
{} It's a 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. |
Code of WP_REST_Post_Format_Search_Handler::__construct() WP REST Post Format Search Handler:: construct WP 5.6
public function __construct() {
$this->type = 'post-format';
}