Automattic\WooCommerce\EmailEditor\Engine\Patterns

Abstract_Pattern::get_propertiespublicWC 1.0

Return properties of the pattern.

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

Хуков нет.

Возвращает

Массив.

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

$Abstract_Pattern = new Abstract_Pattern();
$Abstract_Pattern->get_properties(): array;

Код Abstract_Pattern::get_properties() WC 10.4.3

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,
	);
}