WC_Tracker::get_helper_connected()
Check to see if the helper is connected to woocommerce.com
{} It's a method of the class: WC_Tracker{}
No Hooks.
Return
String
.
Usage
$result = WC_Tracker::get_helper_connected();
Code of WC_Tracker::get_helper_connected() WC Tracker::get helper connected WC 6.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'; }