WordPress at a glance
function is not described


OnboardingEmailMarketing::get_note() public WC 1.0

Get the note.

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

No Hooks.


Note. Nothing.


$result = OnboardingEmailMarketing::get_note();

Code of OnboardingEmailMarketing::get_note() WC 5.2.2

public static function get_note() {
	$content = __( 'We\'re here for you - get tips, product updates and inspiration straight to your email box', 'woocommerce' );

	$note = new Note();
	$note->set_title( __( 'Sign up for tips, product updates, and inspiration', '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( 'yes-please', __( 'Yes please!', 'woocommerce' ), 'https://woocommerce.us8.list-manage.com/subscribe/post?u=2c1434dc56f9506bf3c3ecd21&amp;id=13860df971&amp;SIGNUPPAGE=plugin' );
	return $note;