WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

WooSubscriptionsNotes::get_connected_site_id() public WC 1.0

Returns the WooCommerce.com provided site ID for this site.

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

No Hooks.

Return

Int|false. Nothing.

Usage

$WooSubscriptionsNotes = new WooSubscriptionsNotes();
$WooSubscriptionsNotes->get_connected_site_id();

Code of WooSubscriptionsNotes::get_connected_site_id() WC 5.2.2

<?php
public function get_connected_site_id() {
	if ( ! $this->is_connected() ) {
		return false;
	}

	$auth = \WC_Helper_Options::get( 'auth' );
	return absint( $auth['site_id'] );
}