Automattic\WooCommerce\Internal\Admin

Marketplace::badgeprivateWC 1.0

Method of the class: Marketplace{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->badge(): string;

Marketplace::badge() code WC 9.9.4

private function badge(): string {
	$option = WC_Helper_Options::get( 'my_subscriptions_tab_loaded' );

	if ( ! $option ) {
		return WC_Helper_Updater::get_updates_count_html();
	}

	return '';
}