Automattic\WooCommerce\Admin\Features\ProductBlockEditor

ProductTemplate::set_description │ public │ WC 1.0

Set the template description.

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

Хуков нет.

Возвращает

void. Ничего (null).

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

$ProductTemplate = new ProductTemplate();
$ProductTemplate->set_description( $description );
$description(строка) (обязательный)
The template description.

Код ProductTemplate::set_description() WC 11.3.0

public function set_description( string $description ) {
	unset( $description );

	self::maybe_log_removal_warning();
}