Automattic\WooCommerce\EmailEditor\Engine\Templates

Template::get_post_types │ public │ WC 1.0

Get the list of supported post types.

Метод класса: Template{}

Хуков нет.

Возвращает

string[].

Использование

$Template = new Template();
$Template->get_post_types(): array;

Код Template::get_post_types() WC 11.3.0

public function get_post_types(): array {
	return $this->post_types;
}