ActionScheduler_Logger::log_completed_action()publicWC 1.0

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

Хуков нет.

Возвращает

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

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

$ActionScheduler_Logger = new ActionScheduler_Logger();
$ActionScheduler_Logger->log_completed_action( $action_id, $action, $context );
$action_id (обязательный)
-
$action **
-
По умолчанию: NULL
$context **
-
По умолчанию: ''

Код ActionScheduler_Logger::log_completed_action() WC 9.3.3

public function log_completed_action( $action_id, $action = NULL, $context = '' ) {
	if ( ! empty( $context ) ) {
		/* translators: %s: context */
		$message = sprintf( __( 'action complete via %s', 'woocommerce' ), $context );
	} else {
		$message = __( 'action complete', 'woocommerce' );
	}
	$this->log( $action_id, $message );
}