WC_Tracker::get_helper_connected()
Check to see if the helper is connected to Woo.com
Method of the class: WC_Tracker{}
No Hooks.
Return
String
.
Usage
$result = WC_Tracker::get_helper_connected();
WC_Tracker::get_helper_connected() WC Tracker::get helper connected code WC 8.7.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'; }