WC_Tracker::get_helper_connected
Check to see if the helper is connected to WooCommerce.com
Method of the class: WC_Tracker{}
No Hooks.
Returns
String.
Usage
$result = WC_Tracker::get_helper_connected();
WC_Tracker::get_helper_connected() WC Tracker::get helper connected code WC 10.5.0
private static function get_helper_connected() {
if ( class_exists( 'WC_Helper_Options' ) && is_callable( 'WC_Helper_Options::get' ) ) {
$authenticated = WC_Helper_Options::get( 'auth' );
} else {
$authenticated = '';
}
return ( ! empty( $authenticated ) ) ? 'yes' : 'no';
}