WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Schedulers

CustomersScheduler::schedule_anonymize() public WC 1.0

Schedule an action to anonymize a single Order.

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

No Hooks.

Return

null. Nothing.

Usage

$result = CustomersScheduler::schedule_anonymize( $order );
$order(WC_Order) (required)
Order object.

Code of CustomersScheduler::schedule_anonymize() WC 5.3.0

<?php
public static function schedule_anonymize( $order ) {
	if ( is_a( $order, 'WC_Order' ) ) {
		// Postpone until any pending updates are completed.
		self::schedule_action( 'anonymize', array( $order->get_id() ) );
	}
}