<?php

if ( ! defined( 'ABSPATH' ) ) { exit; }

// Leaven empty tag to let automation add the path disclosure line
?>
<?php /** @var wc4bp_admin $this */ ?>
<label>
	<p>
		<?php esc_html_e( 'If you turn off profile sync, the Billing and Shipping field groups from Profile/Edit will be deleted and disables all sync settings. When you turn On again they will be created again. IMPORTANT ALL DATA WILL BE LOST!', 'wc4bp' ); ?>
	</p>
	<p <?php echo wp_kses_post( $this->disable_class_tag( 'p' ) ); ?>>
		<input <?php echo wp_kses_post( $this->disable_input_tag( 'checkbox' ) ); ?> name='wc4bp_options[tab_sync_disabled]' type='checkbox' value='1' <?php checked( $tab_sync_disabled, 1 ); ?> />
		<b><?php esc_html_e( 'Turn off WooCommerce BuddyPress Profile Sync.', 'wc4bp' ); ?></b>
	</p>
</label>
