ActionScheduler_DBLogger::clear_deleted_action_logs │ public │ WC 3.9.3

Delete the action logs for an action.

Method of the class: ActionScheduler_DBLogger{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ActionScheduler_DBLogger = new ActionScheduler_DBLogger();
$ActionScheduler_DBLogger->clear_deleted_action_logs( $action_id );
$action_id(int) (required)
Action ID.

Changelog

Since 3.9.3 Introduced.
Since 3.9.3 the logs will be deleted in batches of 100.

ActionScheduler_DBLogger::clear_deleted_action_logs() code WC 11.1.2

public function clear_deleted_action_logs( $action_id ) {
	$this->clear_deleted_action_logs_single_batch( $action_id, -1, 1, 4000 );
}