WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Schedulers

OrdersScheduler::possibly_schedule_import() public WC 1.0

Schedule this import if the post is an order or refund.

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

No Hooks.

Return

null. Nothing.

Usage

$result = OrdersScheduler::possibly_schedule_import( $post_id );
$post_id(int) (required)
Post ID.

Code of OrdersScheduler::possibly_schedule_import() WC 5.3.0

<?php
public static function possibly_schedule_import( $post_id ) {
	if ( 'shop_order' !== get_post_type( $post_id ) && 'woocommerce_refund_created' !== current_filter() ) {
		return;
	}

	self::schedule_action( 'import', array( $post_id ) );
}