WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

Note::set_name() public WC 1.0

Set note name.

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

No Hooks.

Return

null. Nothing.

Usage

$Note = new Note();
$Note->set_name( $name );
$name(string) (required)
Note name.

Code of Note::set_name() WC 5.3.0

<?php
public function set_name( $name ) {
	// Don't allow empty names.
	if ( empty( $name ) ) {
		$this->error( 'admin_note_invalid_data', __( 'The admin note name prop cannot be empty.', 'woocommerce' ) );
	}

	$this->set_prop( 'name', $name );
}