<?php } else { ?> <p><?php printf(__('You have no social login profiles connected. %sConnect one now%s', WC_Social_Login::TEXT_DOMAIN), '<a href="#" class="js-show-available-providers">', '</a>'); ?> </p> <?php } ?> <div class="wc-social-login-available-providers" style="display:none;"> <p><?php _e('You can link your account to the following providers:', WC_Social_Login::TEXT_DOMAIN); ?> </p> <?php woocommerce_social_login_link_account_buttons(); ?> </div> </div> <?php }
/** * Get the "link your account" buttons HTML * * @since 1.1.0 * @return string */ public function get_link_account_buttons_html() { ob_start(); woocommerce_social_login_link_account_buttons(); return ob_get_clean(); }