<?php if ( ! defined( 'ABSPATH' ) ) {
exit;} ?>
<h3><?php esc_html_e( 'ELEX Multi-Vendor Role', 'elex-multi-vendor-for-woocommerce' ); ?></h3>

<table class="form-table">
	<tr>
		<th><?php esc_html_e( 'Select Role', 'elex-multi-vendor-for-woocommerce' ); ?></th>
		<td>
	
				<label for="elex-multi-vendor-for-woocommerce-is-vendor">
					<input
						id="elex-multi-vendor-for-woocommerce-is-vendor"
						type="checkbox"
						name="elex-multi-vendor-for-woocommerce-is-vendor"
						value="elex_mv_vendor"
						<?php
						if ( ! is_null( $user_roles ) ) : // Edit user page
							checked( in_array( 'elex_mv_vendor', $user_roles, true ) );
						endif;
						?>
					/>
				<?php echo esc_html( 'ELEX-Vendor' ); ?>
				</label>
				<br />
		</td>
	</tr>
</table>
