WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

Automattic\WooCommerce\Admin\RemoteInboxNotifications

StoredStateSetupForProducts::run_on_product_importer() public WC 1.0

Runs on product importer steps.

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

Хуков нет.

Возвращает

Null. Ничего.

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

$result = StoredStateSetupForProducts::run_on_product_importer();

Код StoredStateSetupForProducts::run_on_product_importer() WC 4.7.0

<?php
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

	$stored_state                         = RemoteInboxNotificationsEngine::get_stored_state();
	$stored_state->there_are_now_products = true;
	RemoteInboxNotificationsEngine::update_stored_state( $stored_state );

	RemoteInboxNotificationsEngine::run();
}