Automattic\WooCommerce\Admin\Features\ProductBlockEditor
ProductTemplate::set_description
Set the template description.
Метод класса: ProductTemplate{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$ProductTemplate = new ProductTemplate(); $ProductTemplate->set_description( $description );
- $description(строка) (обязательный)
- The template description.
Код ProductTemplate::set_description() ProductTemplate::set description WC 11.3.0
public function set_description( string $description ) {
unset( $description );
self::maybe_log_removal_warning();
}