Automattic\WooCommerce\EmailEditor\Engine\Templates
Template::get_post_types
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() Template::get post types code WC 10.5.0
public function get_post_types(): array {
return $this->post_types;
}