WC_Admin_Settings::add_message()public staticWC 1.0

Add a message.

Method of the class: WC_Admin_Settings{}

No Hooks.

Return

null. Nothing (null).

Usage

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

WC_Admin_Settings::add_message() code WC 8.9.0

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