Automattic\WooCommerce\Admin\Notes

Note::set_title()publicWC 1.0

Set note title.

Method of the class: Note{}

No Hooks.

Return

null. Nothing (null).

Usage

$Note = new Note();
$Note->set_title( $title );
$title(string) (required)
Note title.

Note::set_title() code WC 8.7.0

public function set_title( $title ) {
	if ( empty( $title ) ) {
		$this->error( 'admin_note_invalid_data', __( 'The admin note title prop cannot be empty.', 'woocommerce' ) );
	}

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