Automattic\WooCommerce\Admin\RemoteInboxNotifications

StoredStateSetupForProducts::run_on_product_importer()public staticWC 1.0

Runs on product importer steps.

{} Это метод класса: StoredStateSetupForProducts{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$result = StoredStateSetupForProducts::run_on_product_importer();

Код StoredStateSetupForProducts::run_on_product_importer() WC 6.4.1

public static function run_on_product_importer() {
	// We're only interested in when the importer completes.
	// phpcs:disable WordPress.Security.NonceVerification.Recommended
	if ( ! isset( $_REQUEST['step'] ) ) {
		return;
	}
	if ( 'done' !== $_REQUEST['step'] ) {
		return;
	}
	// phpcs:enable

	self::update_stored_state_and_possibly_run_remote_notifications();
}