WC_Connect_Loader::show_tos_notice PHP Method

show_tos_notice() public method

public show_tos_notice ( )
        public function show_tos_notice()
        {
            $accept_url = admin_url('plugins.php?wc-connect-notice=accept');
            ?>
			<div class="notice wcc-tos-banner">
				<h1><?php 
            _e('Connect for WooCommerce is almost ready!');
            ?>
</h1>
				<p>
					<?php 
            printf(__('By clicking "Connect" below, you agree to our <a target="_blank" href="%s">Terms of Service</a>, and understand that Connect passes some data to external servers in order to enable its features. You can find more information about how Connect for WooCommerce handles your store\'s data <a target="_blank" href="%s">here</a>.', 'connectforwoocommerce'), esc_url('https://woocommerce.com/terms-conditions/'), esc_url('https://woocommerce.com/terms-conditions/connect-privacy'));
            ?>
				</p>
				<p>
					<a href="<?php 
            echo esc_url($accept_url);
            ?>
" class="button-primary"><?php 
            _e('Connect');
            ?>
</a>
				</p>
			</div>
			<?php 
        }
WC_Connect_Loader