WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

InstallJPAndWCSPlugins::install_jp_and_wcs_plugins() public WC 1.0

Install the Jetpack and WooCommerce Shipping & Tax plugins in response to the action being clicked in the admin note.

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

No Hooks.

Return

null. Nothing.

Usage

$InstallJPAndWCSPlugins = new InstallJPAndWCSPlugins();
$InstallJPAndWCSPlugins->install_jp_and_wcs_plugins( $note );
$note(Note) (required)
The note being actioned.

Code of InstallJPAndWCSPlugins::install_jp_and_wcs_plugins() WC 5.3.0

<?php
public function install_jp_and_wcs_plugins( $note ) {
	if ( self::NOTE_NAME !== $note->get_name() ) {
		return;
	}

	$this->install_and_activate_plugin( 'jetpack' );
	$this->install_and_activate_plugin( 'woocommerce-services' );
}