WC_Logger_Interface::warning()publicWC 1.0

Adds a warning level message.

Exceptional occurrences that are not errors.

Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.

Метод класса: WC_Logger_Interface{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WC_Logger_Interface = new WC_Logger_Interface();
$WC_Logger_Interface->warning( $message, $context );
$message(строка) (обязательный)
Log message.
$context(массив)
Additional information for log handlers.
По умолчанию: array()

Код WC_Logger_Interface::warning() WC 8.7.0

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