ActionScheduler_Logger::log_failed_schedule_next_instance
Log the failure of scheduling the action's next instance.
Метод класса: ActionScheduler_Logger{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ActionScheduler_Logger = new ActionScheduler_Logger(); $ActionScheduler_Logger->log_failed_schedule_next_instance( $action_id, $exception );
- $action_id(int) (обязательный)
- Action ID.
- $exception(Exception) (обязательный)
- Exception object.
Код ActionScheduler_Logger::log_failed_schedule_next_instance() ActionScheduler Logger::log failed schedule next instance WC 11.2.2
public function log_failed_schedule_next_instance( $action_id, Exception $exception ) {
/* translators: %s: exception message */
$this->log( $action_id, sprintf( __( 'There was a failure scheduling the next instance of this action: %s', 'woocommerce' ), $exception->getMessage() ) );
}