WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes\MerchantEmailNotifications

MerchantEmailNotifications::run() public WC 1.0

Send all the notifications type email.

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

No Hooks.

Return

null. Nothing.

Usage

$result = MerchantEmailNotifications::run();

Code of MerchantEmailNotifications::run() WC 5.3.0

<?php
public static function run() {
	$data_store = \WC_Data_Store::load( 'admin-note' );
	$notes      = $data_store->get_notes(
		array(
			'type'   => array( Note::E_WC_ADMIN_NOTE_EMAIL ),
			'status' => array( 'unactioned' ),
		)
	);

	foreach ( $notes as $note ) {
		$note = Notes::get_note( $note->note_id );
		if ( $note ) {
			self::send_merchant_notification( $note );
			$note->set_status( 'sent' );
			$note->save();
			wc_admin_record_tracks_event( 'wcadmin_email_note_sent', array( 'note_name' => $note->get_name() ) );
		}
	}
}