Deprecated
Table of Contents
abstract-wc-settings-api.php
Line | Element | Reason |
---|---|---|
935 | normal | No longer used. |
946 | normal | Unused. |
abstract-wc-shipping-method.php
Line | Element | Reason |
---|---|---|
126 | normal | |
135 | normal |
class-wc-admin-duplicate-product.php
Line | Element | Reason |
---|---|---|
228 | normal |
class-wc-admin-notices.php
Line | Element | Reason |
---|---|---|
264 | normal | |
555 | normal | No longer shown. |
564 | normal | No longer shown. |
class-wc-admin-post-types.php
Line | Element | Reason |
---|---|---|
810 | normal | and moved to post-data class. |
class-wc-admin-setup-wizard.php
Line | Element | Reason |
---|---|---|
66 | normal | |
75 | normal | |
87 | normal | |
105 | normal | |
128 | normal | |
141 | normal | |
153 | normal | |
168 | normal | |
180 | normal | |
194 | normal | |
210 | normal | |
219 | normal | |
310 | normal | |
334 | normal | |
362 | normal | |
382 | normal | |
427 | normal | |
441 | normal | |
468 | normal | |
609 | normal | |
660 | normal | |
701 | normal | |
726 | normal | |
762 | normal | |
781 | normal | |
797 | normal | |
815 | normal | |
838 | normal | |
857 | normal | |
890 | normal | |
951 | normal | |
975 | normal | |
999 | normal | |
1168 | normal | |
1180 | normal | |
1217 | normal | |
1258 | normal | |
1276 | normal | |
1293 | normal | |
1312 | normal | |
1328 | normal | |
1345 | normal | |
1359 | normal | |
1373 | normal | |
1519 | normal | |
1589 | normal | |
1623 | normal | |
1731 | normal | |
1744 | normal | |
1754 | normal | |
1830 | normal | |
1877 | normal | |
1961 | normal | |
1985 | normal | |
2008 | normal | |
2034 | normal | |
2178 | normal | |
2192 | normal | |
2205 | normal | |
2214 | normal |
class-wc-admin-taxonomies.php
Line | Element | Reason |
---|---|---|
109 | normal | No longer needed. |
class-wc-admin-webhooks.php
Line | Element | Reason |
---|---|---|
304 | normal | |
344 | normal |
class-wc-admin-list-table-products.php
Line | Element | Reason |
---|---|---|
402 | normal | Logic moved to query_filters. |
class-wc-settings-advanced.php
Line | Element | Reason |
---|---|---|
414 | normal | |
488 | normal | in favour of WC_Settings_Advanced. |
class-wc-cache-helper.php
Line | Element | Reason |
---|---|---|
300 | normal | Adjusted transient usage to include versions within the transient values, making this cleanup obsolete. |
class-wc-cart-totals.php
Line | Element | Reason |
---|---|---|
611 | normal | `calculate_item_subtotals` should already appropriately round the tax values. |
class-wc-comments.php
Line | Element | Reason |
---|---|---|
94 | normal | |
126 | normal |
class-wc-countries.php
Line | Element | Reason |
---|---|---|
143 | normal | This method was used to load state files, but is no longer needed. @see get_states(). |
373 | normal |
class-wc-coupon.php
Line | Element | Reason |
---|---|---|
841 | normal | In favor of WC_Discounts->is_coupon_valid. |
class-wc-download-handler.php
Line | Element | Reason |
---|---|---|
197 | normal |
class-wc-emails.php
Line | Element | Reason |
---|---|---|
316 | normal | |
725 | normal |
class-wc-form-handler.php
Line | Element | Reason |
---|---|---|
717 | normal | Logic moved to cart session handling. |
class-wc-geo-ip.php
Line | Element | Reason |
---|---|---|
21 | normal |
class-wc-geolite-integration.php
Line | Element | Reason |
---|---|---|
21 | normal | |
54 | normal |
class-wc-geolocation.php
Line | Element | Reason |
---|---|---|
206 | normal | |
218 | normal | Extract files with PharData. Tool built into PHP since 5.3. |
317 | normal | |
330 | normal | |
348 | normal | |
25 | normal | |
32 | normal | |
40 | normal |
class-wc-order-item-coupon.php
Line | Element | Reason |
---|---|---|
143 | normal | |
160 | normal |
class-wc-order-item-fee.php
Line | Element | Reason |
---|---|---|
314 | normal |
class-wc-order-item-product.php
Line | Element | Reason |
---|---|---|
455 | normal |
class-wc-order-item-shipping.php
Line | Element | Reason |
---|---|---|
296 | normal |
class-wc-order-item-tax.php
Line | Element | Reason |
---|---|---|
266 | normal |
class-wc-order-refund.php
Line | Element | Reason |
---|---|---|
190 | normal | |
213 | normal | |
224 | normal |
class-wc-post-data.php
Line | Element | Reason |
---|---|---|
502 | normal | |
512 | normal | No action is necessary on changes to download paths since download_id is no longer based on file hash. |
527 | normal |
class-wc-product-download.php
Line | Element | Reason |
---|---|---|
156 | normal | No longer using filename based hashing to keep track of files. |
207 | normal | No longer using filename based hashing to keep track of files. |
class-wc-query.php
Line | Element | Reason |
---|---|---|
896 | normal | Replaced with taxonomy. |
907 | normal | Replaced with taxonomy. |
918 | normal | Replaced with taxonomy. |
927 | normal | |
936 | normal | due to performance concerns |
947 | normal | due to performance concerns |
958 | normal | - Not needed anymore since WordPress 4.5. |
968 | normal | - Nothing to remove anymore because search_post_excerpt() is deprecated. |
class-wc-shipping.php
Line | Element | Reason |
---|---|---|
400 | normal | Was previously used to determine sort order of methods, but this is now controlled by zones and thus unused. |
class-wc-shortcodes.php
Line | Element | Reason |
---|---|---|
638 | normal | Use WC_Shortcode_Products::order_by_rating_post_clauses(). |
class-wc-tax.php
Line | Element | Reason |
---|---|---|
48 | normal | |
532 | normal |
class-wc-webhook.php
Line | Element | Reason |
---|---|---|
629 | normal |
class-wc-customer-download-data-store.php
Line | Element | Reason |
---|---|---|
371 | normal | Download id is now a static UUID and should not be changed based on file hash. |
class-wc-order-data-store-cpt.php
Line | Element | Reason |
---|---|---|
425 | normal | - Use wc_get_orders instead. |
class-wc-email-customer-refunded-order.php
Line | Element | Reason |
---|---|---|
127 | normal | Unused. |
class-wc-email.php
Line | Element | Reason |
---|---|---|
217 | normal | in favour of placeholders |
225 | normal | in favour of placeholders |
class-wc-product-csv-importer.php
Line | Element | Reason |
---|---|---|
683 | normal |
abstract-wc-legacy-order.php
Line | Element | Reason |
---|---|---|
319 | normal | |
471 | normal | |
566 | normal | since this is an alias only. |
578 | normal | |
608 | normal | - Replaced with better named method to reflect the actual data being returned. |
620 | normal | Item meta no longer expanded due to new order item classes. This function now does nothing to avoid data breakage. |
630 | normal | Logic moved to constructor |
649 | normal | |
671 | normal | |
683 | normal | Moved to event handler. |
693 | normal | |
702 | normal | |
711 | normal | |
720 | normal | |
733 | normal | No longer needs to be called directly. |
743 | normal | Moved to template functions. |
752 | normal |
abstract-wc-legacy-payment-token.php
Line | Element | Reason |
---|---|---|
35 | normal | - Init a token class with an ID. |
46 | normal | - Use ::save instead. |
60 | normal | - Use ::save instead. |
abstract-wc-legacy-product.php
Line | Element | Reason |
---|---|---|
163 | normal | |
174 | normal | |
189 | normal | |
201 | normal | |
213 | normal | |
223 | normal | Sync is done automatically on read/save, so calling this should not be needed any more. |
235 | normal | Use wc_get_related_products instead. |
248 | normal | Use wc_get_product_term_ids instead. |
262 | normal | Use Product Data Store get_related_products_query instead. |
274 | normal | Use wc_get_product instead. |
285 | normal | |
298 | normal | Use wc_format_sale_price instead. |
307 | normal | Use wc_display_product_attributes instead. |
320 | normal | Use wc_get_price_including_tax instead. |
333 | normal | Use wc_get_price_to_display instead. |
347 | normal | Use wc_get_price_excluding_tax instead. |
358 | normal | |
372 | normal | |
386 | normal | |
397 | normal | |
416 | normal | |
427 | normal | |
438 | normal | |
449 | normal | |
463 | normal | |
474 | normal | |
485 | normal | |
505 | normal | |
516 | normal | |
542 | normal | |
554 | normal | not used in core. |
620 | normal | in favour of Product data store's find_matching_product_variation. |
631 | normal | Unused. |
643 | normal | |
654 | normal | |
669 | normal | |
681 | normal | |
689 | normal | Sync is taken care of during save - no need to call this directly. |
class-wc-legacy-api.php
Line | Element | Reason |
---|---|---|
82 | normal | |
126 | normal | |
158 | normal | |
184 | normal | |
232 | normal | |
279 | normal | - REST API clases autoload. |
286 | normal | - REST API clases autoload. |
294 | normal | |
27 | normal | |
35 | normal | |
43 | normal |
class-wc-legacy-cart.php
Line | Element | Reason |
---|---|---|
313 | normal | Taxes are never calculated if customer is tax except making this function unused. |
321 | normal | Session is loaded via hooks rather than directly. |
335 | normal | Calculation and coupon logic is handled in WC_Cart_Totals. |
350 | normal | in favor to wc_get_cart_url() |
361 | normal | in favor to wc_get_checkout_url() |
372 | normal | in favor to wc_ship_to_billing_address_only() |
383 | normal | |
394 | normal | Order discounts (after tax) removed in 2.3 so multiple methods for discounts are no longer required. |
410 | normal | Order discounts (after tax) removed in 2.3. |
422 | normal | Coupons can not be applied after tax. |
434 | normal | Coupons can not be applied after tax. |
443 | normal | Coupons can not be applied after tax. |
28 | normal | |
52 | normal |
class-wc-legacy-shipping-zone.php
Line | Element | Reason |
---|---|---|
21 | normal | |
32 | normal | - Init a shipping zone with an ID. |
43 | normal | - Use ::save instead. |
57 | normal | - Use ::save instead. |
class-wc-legacy-webhook.php
Line | Element | Reason |
---|---|---|
110 | normal | |
123 | normal |
class-wc-rest-orders-v1-controller.php
Line | Element | Reason |
---|---|---|
511 | normal |
class-wc-rest-product-attributes-v1-controller.php
Line | Element | Reason |
---|---|---|
571 | normal | |
589 | normal |
class-wc-rest-products-v1-controller.php
Line | Element | Reason |
---|---|---|
450 | normal | |
831 | normal | |
1062 | normal |
class-wc-rest-webhook-deliveries-v1-controller.php
Line | Element | Reason |
---|---|---|
24 | normal | Webhooks deliveries logs now uses logging system. |
class-wc-rest-products-v2-controller.php
Line | Element | Reason |
---|---|---|
444 | normal |
class-wc-rest-system-status-v2-controller.php
Line | Element | Reason |
---|---|---|
565 | normal | |
609 | normal |
class-wc-rest-webhook-deliveries-v2-controller.php
Line | Element | Reason |
---|---|---|
20 | normal | Webhooks deliveries logs now uses logging system. |
Package.php
Line | Element | Reason |
---|---|---|
19 | normal | Use \Automattic\WooCommerce\RestApi\Server directly. |
34 | normal | since 4.5.0. Directly call Automattic\WooCommerce\RestApi\Server::instance()->init() |
45 | normal | since 4.5.0. This tracks WooCommerce version now. |
56 | normal | since 4.5.0. Directly call Automattic\WooCommerce\RestApi\Server::get_path() |
27 | normal | since 4.5.0. This tracks WooCommerce version now. |
class-wc-shipping-legacy-flat-rate.php
Line | Element | Reason |
---|---|---|
21 | normal | |
309 | normal | Additional rates defined like this: Option Name | Additional Cost [+- Percents%] | Per Cost Type (order, class, or item). |
343 | normal | |
361 | normal |
class-wc-shipping-legacy-free-shipping.php
Line | Element | Reason |
---|---|---|
23 | normal |
class-wc-shipping-legacy-international-delivery.php
Line | Element | Reason |
---|---|---|
21 | normal |
class-wc-shipping-legacy-local-delivery.php
Line | Element | Reason |
---|---|---|
21 | normal |
class-wc-shipping-legacy-local-pickup.php
Line | Element | Reason |
---|---|---|
21 | normal |
class-wc-admin-setup-wizard-tracking.php
Line | Element | Reason |
---|---|---|
28 | normal | |
38 | normal | |
48 | normal | |
57 | normal | |
78 | normal | |
87 | normal | |
96 | normal | |
105 | normal | |
114 | normal | |
123 | normal | |
132 | normal | |
141 | normal | |
150 | normal | |
159 | normal | |
170 | normal |
wc-cart-functions.php
Line | Element | Reason |
---|---|---|
48 | normal |
wc-deprecated-functions.php
wc-template-functions.php
Line | Element | Reason |
---|---|---|
2424 | normal | @todo Add a notice in a future version. |
3705 | normal | |
3716 | normal | |
3727 | normal | Unused. |
class-wc-widget-product-tag-cloud.php
Line | Element | Reason |
---|---|---|
103 | normal | |
116 | normal |
DeprecatedNotes.php
Line | Element | Reason |
---|---|---|
20 | normal | since 1.7.0, use Note |
62 | normal | since 1.7.0, use Notes |
83 | normal | since 1.7.0, use ChooseNiche |
104 | normal | since 1.7.0, use CouponPageMoved |
125 | normal | since 1.7.0, use CustomizeStoreWithBlocks |
146 | normal | since 1.7.0, use DeactivatePlugin |
167 | normal | since 1.7.0, use DrawAttention |
188 | normal | since 1.7.0, use EditProductsOnTheMove |
209 | normal | since 1.7.0, use EUVATNumber |
230 | normal | since 1.7.0, use FacebookMarketingExpert |
251 | normal | since 1.7.0, use FirstProduct |
272 | normal | since 1.7.0, use GivingFeedbackNotes |
293 | normal | since 1.7.0, use HistoricalData |
314 | normal | since 1.7.0, use HomeScreenFeedback |
335 | normal | since 1.7.0, use InsightFirstSale |
356 | normal | since 1.7.0, use InstallJPAndWCSPlugins |
377 | normal | since 1.7.0, use LaunchChecklist |
398 | normal | since 1.7.0, use Marketing |
419 | normal | since 1.7.0, use MigrateFromShopify |
440 | normal | since 1.7.0, use MobileApp |
461 | normal | since 1.7.0, use NeedSomeInspiration |
482 | normal | since 1.7.0, use NewSalesRecord |
503 | normal | since 1.7.0, use OnboardingEmailMarketing |
524 | normal | since 1.7.0, use OnboardingPayments |
545 | normal | since 1.7.0, use OnlineClothingStore |
566 | normal | since 1.7.0, use OrderMilestones |
587 | normal | since 1.7.0, use PerformanceOnMobile |
608 | normal | since 1.7.0, use PersonalizeStore |
629 | normal | since 1.7.0, use RealTimeOrderAlerts |
650 | normal | since 1.7.0, use ReviewShippingSettings |
671 | normal | since 1.7.0, use SellingOnlineCourses |
692 | normal | since 1.7.0, use SetUpAdditionalPaymentTypes |
713 | normal | since 1.7.0, use StartDropshippingBusiness |
734 | normal | since 1.7.0, use TestCheckout |
755 | normal | since 1.7.0, use TrackingOptIn |
776 | normal | since 1.7.0, use WooSubscriptionsNotes |
797 | normal | since 1.7.0, use WooCommercePayments |
818 | normal | since 1.7.0, use WooCommerceSubscriptions |