WordPress at a glance
function is not described

WC_Logger_Interface::alert() public WC 1.0

Adds an alert level message.

Action must be taken immediately. Example: Entire website down, database unavailable, etc.

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

No Hooks.


Null. Nothing.


$WC_Logger_Interface = new WC_Logger_Interface();
$WC_Logger_Interface->alert( $message, $context );
$message(string) (required)
Log message.
Additional information for log handlers.

Code of WC_Logger_Interface::alert() WC 5.0.0

public function alert( $message, $context = array() );