@@ -76,13 +76,6 @@ class WooTab extends WC_Settings_Page implements Hookable {
7676 */
7777 const EMAIL_FIELD = 'cc_woo_store_information_contact_email ' ;
7878
79- /**
80- * Alternative Login URL.
81- *
82- * @since 2021-06-02
83- */
84- const ALT_LOGIN_URL = 'cc_woo_store_information_alt_login_url ' ;
85-
8679 /**
8780 * Store checkbox location.
8881 *
@@ -379,13 +372,7 @@ private function get_connection_established_options() {
379372 * @since 2019-03-21
380373 */
381374 public function render_cta_button () {
382-
383- $ url = get_option ( self ::ALT_LOGIN_URL , '' );
384-
385- if ( '' === $ url ) {
386- $ url = 'https://login.constantcontact.com/login/?goto=https%3A%2F%2Fapp.constantcontact.com%2Fpages%2Fecomm%2Fdashboard%23woocommerce ' ;
387- }
388-
375+ $ url = 'https://login.constantcontact.com/login/?goto=https%3A%2F%2Fapp.constantcontact.com%2Fpages%2Fecomm%2Fdashboard%23woocommerce ' ;
389376 ?>
390377 <a
391378 class="button button-primary"
@@ -494,12 +481,6 @@ private function get_store_information_settings() {
494481 'true ' => esc_html__ ( 'Yes - check this box by default ' , 'cc-woo ' ),
495482 ],
496483 ],
497- [
498- 'title ' => esc_html__ ( 'Alternative Login Url ' , 'cc-woo ' ),
499- 'desc ' => esc_html__ ( 'Only use if directed to by Pro Support. ' , 'cc-woo ' ),
500- 'id ' => self ::ALT_LOGIN_URL ,
501- 'type ' => 'text ' ,
502- ],
503484 [
504485 'title ' => esc_html__ ( 'Checkbox Filter Location ' , 'cc-woo ' ),
505486 'desc ' => esc_html__ ( 'Change filter location where checkbox is rendered. ' , 'cc-woo ' ),
0 commit comments