WordPress at Your Fingertips
function is not described

WC_Post_Data::do_deferred_product_sync() public WC 1.0

Sync products queued to sync.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Post_Data::do_deferred_product_sync();

Code of WC_Post_Data::do_deferred_product_sync() WC 5.6.0

public static function do_deferred_product_sync() {
	global $wc_deferred_product_sync;

	if ( ! empty( $wc_deferred_product_sync ) ) {
		$wc_deferred_product_sync = wp_parse_id_list( $wc_deferred_product_sync );
		array_walk( $wc_deferred_product_sync, array( __CLASS__, 'deferred_product_sync' ) );
	}
}