WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes\MerchantEmailNotifications

NotificationEmail::get_default_heading() public WC 1.0

Get email heading.

{} It's a method of the class: NotificationEmail{}

No Hooks.

Return

String. Nothing.

Usage

$NotificationEmail = new NotificationEmail();
$NotificationEmail->get_default_heading();

Code of NotificationEmail::get_default_heading() WC 5.3.0

<?php
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();
}