-
Home
-
Store Locator PlusĀ® for WordPress
-
5.7
-
Code
-
Classes
- SLP_REST_Handler
Total Complexity |
49 |
Dependencies |
8 |
Dependents |
2 |
Total lines |
657 |
Lines of code |
288 |
Logical lines of code |
152 |
Comment lines |
281 |
Methods |
20 |
Properties |
0 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
update_location() |
S |
49 |
6 |
29 |
get_smart_option() |
S |
51 |
5 |
26 |
update_smart_option() |
S |
52 |
4 |
24 |
setup_rest_cross_version_endpoints() |
S |
42 |
1 |
62 |
get_locations() |
S |
58 |
4 |
16 |
valid_referer() |
S |
60 |
4 |
12 |
add_location() |
S |
55 |
3 |
18 |
initialize() |
S |
64 |
4 |
10 |
import_options() |
S |
54 |
2 |
20 |
setup_rest() |
S |
73 |
3 |
5 |
delete_location_by_id() |
S |
59 |
2 |
14 |
validate_apikey() |
S |
68 |
2 |
7 |
get_location_by_id() |
S |
65 |
2 |
9 |
get_all_options() |
S |
61 |
1 |
13 |
geocode_address() |
S |
71 |
1 |
6 |
get_rest_path() |
S |
78 |
1 |
3 |
setup_rest_endpoints() |
S |
74 |
1 |
5 |
get_smart_option_filtered() |
S |
79 |
1 |
3 |
set_rest_hooks() |
S |
79 |
1 |
3 |
user_can_manage_slp() |
S |
80 |
1 |
3 |