WC_Admin_Settings::add_message()public staticWC 1.0

Add a message.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Admin_Settings::add_message( $text );
$text(string) (required)
Message.

Code of WC_Admin_Settings::add_message() WC 6.7.0

public static function add_message( $text ) {
	self::$messages[] = $text;
}