WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

Plugins::create_install_plugin_error_inbox_notification_for_jetpack_installs() private WC 1.0

Create an alert notification in response to an error installing a plugin.

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

No Hooks.

Return

null. Nothing.

Usage

// private - for code of main (parent) class only
$result = $this->create_install_plugin_error_inbox_notification_for_jetpack_installs( $slug );
$slug(string) (required)
The slug of the plugin being installed.

Code of Plugins::create_install_plugin_error_inbox_notification_for_jetpack_installs() WC 5.3.0

<?php
private function create_install_plugin_error_inbox_notification_for_jetpack_installs( $slug ) {
	// Exit early if we're not installing the Jetpack or the WooCommerce Shipping & Tax plugins.
	if ( 'jetpack' !== $slug && 'woocommerce-services' !== $slug ) {
		return;
	}

	InstallJPAndWCSPlugins::possibly_add_note();
}