Automattic\WooCommerce\EmailEditor\Engine
Email_Editor::get_post_types
Returns the email post types.
Method of the class: Email_Editor{}
Hooks from the method
Returns
Array.
Usage
// private - for code of main (parent) class only $result = $this->get_post_types(): array;
Email_Editor::get_post_types() Email Editor::get post types code WC 10.5.0
private function get_post_types(): array {
$post_types = array();
return apply_filters( 'woocommerce_email_editor_post_types', $post_types );
}