WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

GoogleAdsAndMarketing::get_note() public WC 1.0

Get the note.

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

No Hooks.

Return

Note. Nothing.

Usage

$result = GoogleAdsAndMarketing::get_note();

Code of GoogleAdsAndMarketing::get_note() WC 5.3.0

<?php
public static function get_note() {
	$note = new Note();
	$note->set_title( __( 'Get your products in front of millions of shoppers on Google to grow your sales', 'woocommerce' ) );
	$note->set_content( __( 'Google Ads & Marketing makes it easy to promote products on any budget. Run paid Smart Shopping campaigns to get your top selling products in front of buyers across the Google Network. You can also drive free traffic to your store with free listings for only $10 per month!', 'woocommerce' ) );
	$note->set_type( Note::E_WC_ADMIN_NOTE_INFORMATIONAL );
	$note->set_name( self::NOTE_NAME );
	$note->set_content_data( (object) array() );
	$note->set_source( 'woocommerce-admin' );
	$note->add_action(
		'get-started',
		__( 'Get started', 'woocommerce' ),
		'https://woocommerce.com/products/google-ads-and-marketing/',
		Note::E_WC_ADMIN_NOTE_ACTIONED,
		true
	);
	return $note;
}