Automattic\WooCommerce\Internal\Admin\Notes
EmailNotification::get_default_heading()
Get email heading.
Method of the class: EmailNotification{}
No Hooks.
Return
String
.
Usage
$EmailNotification = new EmailNotification(); $EmailNotification->get_default_heading();
EmailNotification::get_default_heading() EmailNotification::get default heading code WC 9.5.1
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(); }