Automattic\WooCommerce\EmailEditor\Engine\Patterns
Abstract_Pattern::get_properties
Return properties of the pattern.
Method of the class: Abstract_Pattern{}
No Hooks.
Returns
Array.
Usage
$Abstract_Pattern = new Abstract_Pattern(); $Abstract_Pattern->get_properties(): array;
Abstract_Pattern::get_properties() Abstract Pattern::get properties code WC 10.6.2
public function get_properties(): array {
return array(
'title' => $this->get_title(),
'content' => $this->get_content(),
'description' => $this->get_description(),
'categories' => $this->categories,
'inserter' => $this->inserter,
'blockTypes' => $this->block_types,
'templateTypes' => $this->template_types,
'postTypes' => $this->post_types,
'source' => $this->source,
'viewportWidth' => $this->viewport_width,
);
}