WP_REST_Search_Handler::get_subtypes
Gets the object subtypes managed by this search handler.
Method of the class: WP_REST_Search_Handler{}
No Hooks.
Returns
String[]. Array of object subtype identifiers.
Usage
$WP_REST_Search_Handler = new WP_REST_Search_Handler(); $WP_REST_Search_Handler->get_subtypes();
Changelog
| Since 5.0.0 | Introduced. |
WP_REST_Search_Handler::get_subtypes() WP REST Search Handler::get subtypes code WP 6.9.1
public function get_subtypes() {
return $this->subtypes;
}