HEX
Server: LiteSpeed
System: Linux premium212.web-hosting.com 4.18.0-553.124.4.lve.el8.x86_64 #1 SMP Fri May 15 13:02:13 UTC 2026 x86_64
User: vitanhod (1367)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //home/vitanhod/vitamine.pk/wp-content/plugins/wp-whatsapp/views/user-role-settings.php
<?php
global $wp_roles;
?>
<table class="form-table">
	<tbody>
		<tr>
			<th scope="row"><label for="nta-wa-select-user-roles"><?php echo esc_html__( 'Select User Roles to access', 'wp-whatsapp' ); ?></label></th>
			<td>
				<div style="line-height: 2" class="nta-wa-setting-width nta-wa-list-col4">
					<?php
					foreach ( $wp_roles->roles as $key => $value ) {
						?>
						<?php if ( 'administrator' !== $key ) { ?>
							<span class="list-col4-item">
								<input type="checkbox" class="nta-wa-list-user-restrictions-item" id="<?php echo esc_attr( $key ); ?>" name="userRole[]"
								value="<?php echo esc_attr( $key ); ?>" <?php echo isset( $option[ $key ] ) ? 'checked' : ''; ?>>
								<label for="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $value['name'] ); ?></label>
							</span>
						<?php } ?>
					<?php } ?>
				</div>
			</td>
		</tr>
	</tbody>
</table>
<button class="button button-large button-primary wa-save"><span class="wa-save-text"><?php esc_html_e( 'Save Changes', 'wp-whatsapp' ); ?><span></span></span></button>