-
Home
-
Wholesale Suite – WooCommerce Wholesale Prices, B2B, Catalog Mode, Order Form, Wholesale User Roles, Dynamic Pricing & More
-
1.13.1
-
Code
-
Classes
- WWP_REST_Wholesale_Products_V1_Controller
Total Complexity |
78 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
568 |
Lines of code |
234 |
Logical lines of code |
138 |
Comment lines |
182 |
Methods |
12 |
Properties |
6 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_wholesale_data_on_response() |
A |
49 |
12 |
27 |
create_update_wholesale_product() |
A |
52 |
10 |
23 |
get_wholesale_products() |
A |
44 |
7 |
45 |
remove_wwpp_meta() |
A |
52 |
8 |
23 |
create_item() |
A |
56 |
8 |
16 |
get_item() |
S |
52 |
7 |
22 |
get_wwp_meta_data() |
S |
50 |
6 |
27 |
delete_item() |
S |
56 |
6 |
16 |
query_args() |
S |
59 |
6 |
12 |
get_items() |
S |
61 |
4 |
10 |
__construct() |
S |
62 |
2 |
10 |
is_wholesale_endpoint() |
S |
76 |
2 |
3 |