Automattic\WooCommerce\EmailEditor\Engine\Templates
Template::get_post_types
Get the list of supported post types.
Метод класса: Template{}
Хуков нет.
Возвращает
string[].
Использование
$Template = new Template(); $Template->get_post_types(): array;
Код Template::get_post_types() Template::get post types WC 11.3.0
public function get_post_types(): array {
return $this->post_types;
}