WC_Admin_Settings::add_error( string $text )

Add an error.


Description Description


Parameters Parameters

$text

(Required) Message.


Top ↑

Source Source

File: includes/admin/class-wc-admin-settings.php

		public static function add_error( $text ) {
			self::$errors[] = $text;
		}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.