WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

InstallJPAndWCSPlugins::get_note() public WC 1.0

Get the note.

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

No Hooks.

Return

Note. Nothing.

Usage

$result = InstallJPAndWCSPlugins::get_note();

Code of InstallJPAndWCSPlugins::get_note() WC 5.3.0

<?php
public static function get_note() {
	$content = __( 'We noticed that there was a problem during the Jetpack and WooCommerce Shipping & Tax install. Please try again and enjoy all the advantages of having the plugins connected to your store! Sorry for the inconvenience. The "Jetpack" and "WooCommerce Shipping & Tax" plugins will be installed & activated for free.', 'woocommerce' );

	$note = new Note();
	$note->set_title( __( 'Uh oh... There was a problem during the Jetpack and WooCommerce Shipping & Tax install. Please try again.', 'woocommerce' ) );
	$note->set_content( $content );
	$note->set_content_data( (object) array() );
	$note->set_type( Note::E_WC_ADMIN_NOTE_INFORMATIONAL );
	$note->set_name( self::NOTE_NAME );
	$note->set_source( 'woocommerce-admin' );
	$note->add_action(
		'install-jp-and-wcs-plugins',
		__( 'Install plugins', 'woocommerce' ),
		false,
		Note::E_WC_ADMIN_NOTE_ACTIONED,
		true
	);
	return $note;
}