-
Home
-
ACF User Role Field Setting
-
4.0.2 (latest)
-
Code
-
Classes
- acf_user_role_field_setting
| Total Complexity |
47 |
| Dependencies |
0 |
| Dependents |
0 |
| Total lines |
169 |
| Lines of code |
138 |
| Logical lines of code |
75 |
| Comment lines |
22 |
| Methods |
10 |
| Properties |
3 |
Methods 10
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| add_actions() |
A |
50 |
10 |
26 |
| user_can_edit() |
A |
54 |
9 |
20 |
| render_field_settings() |
S |
49 |
6 |
29 |
| prepare_field() |
S |
61 |
5 |
13 |
| current_user_roles() |
S |
65 |
5 |
9 |
| get_roles() |
S |
59 |
4 |
14 |
| after_setup_theme() |
S |
64 |
3 |
9 |
| output_hidden_fields() |
S |
65 |
3 |
9 |
| __construct() |
S |
72 |
1 |
5 |
| init() |
S |
78 |
1 |
4 |