WordPress at Your Fingertips
function is not described

ActionScheduler_DBLogger::clear_deleted_action_logs() public WC 1.0

Delete the action logs for an action.

{} It's a method of the class: ActionScheduler_DBLogger{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of ActionScheduler_DBLogger::clear_deleted_action_logs() WC 6.1.0

public function clear_deleted_action_logs( $action_id ) {
	/** @var \wpdb $wpdb */ //phpcs:ignore Generic.Commenting.DocComment.MissingShort
	global $wpdb;
	$wpdb->delete( $wpdb->actionscheduler_logs, array( 'action_id' => $action_id ), array( '%d' ) );
}