WC_Admin_Meta_Boxes::add_error()
Add an error message.
Method of the class: WC_Admin_Meta_Boxes{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WC_Admin_Meta_Boxes::add_error( $text );
- $text(string) (required)
- Error to add.
WC_Admin_Meta_Boxes::add_error() WC Admin Meta Boxes::add error code WC 9.8.1
public static function add_error( $text ) { self::$meta_box_errors[] = $text; }