Automattic\WooCommerce\Internal\Admin
Marketplace::badge
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() Marketplace::badge code WC 10.5.0
private function badge(): string {
$option = WC_Helper_Options::get( 'my_subscriptions_tab_loaded' );
if ( ! $option ) {
return WC_Helper_Updater::get_updates_count_html();
}
return '';
}