-
Home
-
Wholesale Suite – WooCommerce Wholesale Prices, B2B, Catalog Mode, Order Form, Wholesale User Roles, Dynamic Pricing & More
-
1.14.1
-
Code
-
Classes
- WWP_REST_Wholesale_Products_V1_Controller
Total Complexity |
73 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
532 |
Lines of code |
212 |
Logical lines of code |
121 |
Comment lines |
181 |
Methods |
12 |
Properties |
6 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
create_update_wholesale_product() |
A |
52 |
10 |
23 |
get_item() |
A |
52 |
10 |
20 |
add_wholesale_data_on_response() |
A |
52 |
9 |
21 |
get_wholesale_products() |
A |
44 |
7 |
45 |
remove_wwpp_meta() |
A |
52 |
8 |
23 |
create_item() |
A |
56 |
8 |
16 |
query_args() |
S |
56 |
7 |
16 |
get_wwp_meta_data() |
S |
54 |
4 |
19 |
get_items() |
S |
61 |
4 |
10 |
is_wholesale_endpoint() |
S |
75 |
3 |
3 |
__construct() |
S |
62 |
2 |
10 |
delete_item() |
S |
70 |
1 |
6 |