Automattic\WooCommerce\Admin\RemoteInboxNotifications

StoredStateSetupForProducts::admin_init()public staticWC 1.0

Initialize the class via the admin_init hook.

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

No Hooks.

Return

null. Nothing.

Usage

$result = StoredStateSetupForProducts::admin_init();

Code of StoredStateSetupForProducts::admin_init() WC 6.6.1

public static function admin_init() {
	add_action( 'product_page_product_importer', array( __CLASS__, 'run_on_product_importer' ) );
	add_action( 'transition_post_status', array( __CLASS__, 'run_on_transition_post_status' ), 10, 3 );
}