PluginProbe ʕ •ᴥ•ʔ
WP Chat App / 3.7.0
WP Chat App v3.7.0
3.8.1 3.8.2 trunk 2.6 3.4 3.4.1 3.4.2 3.4.4 3.4.5 3.4.6 3.5 3.6 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.6.8 3.6.9 3.7.0 3.7.1 3.7.2 3.7.3 3.7.4 3.8.0
wp-whatsapp / views / user-role-settings.php
wp-whatsapp / views Last commit date
analytics.php 1 year ago design-preview.php 1 year ago design-settings.php 1 year ago display-settings.php 1 year ago floating-widget-settings.php 1 year ago meta-accounts.php 1 year ago meta-button-style.php 1 year ago selected-accounts.php 1 year ago settings.php 1 year ago url-settings.php 1 year ago user-role-settings.php 1 year ago woocommerce-button.php 1 year ago
user-role-settings.php
26 lines
1 <?php
2 global $wp_roles;
3 ?>
4 <table class="form-table">
5 <tbody>
6 <tr>
7 <th scope="row"><label for="nta-wa-select-user-roles"><?php echo esc_html__( 'Select User Roles to access', 'wp-whatsapp' ); ?></label></th>
8 <td>
9 <div style="line-height: 2" class="nta-wa-setting-width nta-wa-list-col4">
10 <?php
11 foreach ( $wp_roles->roles as $key => $value ) {
12 ?>
13 <?php if ( 'administrator' !== $key ) { ?>
14 <span class="list-col4-item">
15 <input type="checkbox" class="nta-wa-list-user-restrictions-item" id="<?php echo esc_attr( $key ); ?>" name="userRole[]"
16 value="<?php echo esc_attr( $key ); ?>" <?php echo isset( $option[ $key ] ) ? 'checked' : ''; ?>>
17 <label for="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $value['name'] ); ?></label>
18 </span>
19 <?php } ?>
20 <?php } ?>
21 </div>
22 </td>
23 </tr>
24 </tbody>
25 </table>
26 <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>