Automattic\WooCommerce\Internal\Admin\Notes
EmailNotification::get_default_heading()
Get email heading.
Метод класса: EmailNotification{}
Хуков нет.
Возвращает
Строку
.
Использование
$EmailNotification = new EmailNotification(); $EmailNotification->get_default_heading();
Код EmailNotification::get_default_heading() EmailNotification::get default heading WC 8.7.0
public function get_default_heading() { $content_data = $this->note->get_content_data(); if ( isset( $content_data->heading ) ) { return $content_data->heading; } return $this->note->get_title(); }