Automattic\WooCommerce\EmailEditor\Engine\Templates

Template::get_post_typespublicWC 1.0

Get the list of supported post types.

Method of the class: Template{}

No Hooks.

Returns

String[].

Usage

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

Template::get_post_types() code WC 10.5.0

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