isAtomicPlatform() ; } public function isWooExpressPerformance(): bool { return function_exists('wc_calypso_bridge_is_woo_express_performance_plan') && wc_calypso_bridge_is_woo_express_performance_plan(); } /** * Returns the plan name for the current site if hosted on WordPress.com. * Empty otherwise. */ public function getDotcomPlan(): string { if ($this->isWooExpressPerformance()) { return 'performance'; } return ''; } }