ActionScheduler_Logger::bulk_log_cancel_actions()
Bulk add cancel action log entries.
Implemented here for backward compatibility. Should be implemented in parent loggers for more performant bulk logging.
Метод класса: ActionScheduler_Logger{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$ActionScheduler_Logger = new ActionScheduler_Logger(); $ActionScheduler_Logger->bulk_log_cancel_actions( $action_ids );
- $action_ids(массив) (обязательный)
- List of action ID.
Код ActionScheduler_Logger::bulk_log_cancel_actions() ActionScheduler Logger::bulk log cancel actions WC 7.7.2
public function bulk_log_cancel_actions( $action_ids ) { if ( empty( $action_ids ) ) { return; } foreach ( $action_ids as $action_id ) { $this->log_canceled_action( $action_id ); } }