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.
Method of the class: ActionScheduler_Logger{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ActionScheduler_Logger = new ActionScheduler_Logger(); $ActionScheduler_Logger->bulk_log_cancel_actions( $action_ids );
- $action_ids(array) (required)
- List of action ID.
ActionScheduler_Logger::bulk_log_cancel_actions() ActionScheduler Logger::bulk log cancel actions code WC 9.3.3
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 ); } }