Deprecated
Table of Contents
abstract-wc-settings-api.php
| Line | Element | Reason |
|---|---|---|
| 999 | WC_Settings_API::validate_settings_fields() | No longer used. |
| 1010 | WC_Settings_API::format_settings() | Unused. |
abstract-wc-shipping-method.php
| Line | Element | Reason |
|---|---|---|
| 128 | WC_Shipping_Method::$availability | |
| 137 | WC_Shipping_Method::$countries |
class-wc-admin-duplicate-product.php
| Line | Element | Reason |
|---|---|---|
| 241 | WC_Admin_Duplicate_Product::get_product_to_duplicate() |
class-wc-admin-notices.php
| Line | Element | Reason |
|---|---|---|
| 90 | WC_Admin_Notices::prepare_note_with_nonce() | |
| 412 | WC_Admin_Notices::install_notice() | |
| 548 | WC_Admin_Notices::wp_php_min_requirements_notice() | WordPress and PHP minimum requirements notices are no longer shown. |
| 689 | WC_Admin_Notices::simplify_commerce_notice() | No longer shown. |
| 698 | WC_Admin_Notices::theme_check_notice() | No longer shown. |
class-wc-admin-post-types.php
| Line | Element | Reason |
|---|---|---|
| 804 | WC_Admin_Post_Types::process_product_file_download_paths() | and moved to post-data class. |
class-wc-admin-setup-wizard.php
class-wc-admin-taxonomies.php
| Line | Element | Reason |
|---|---|---|
| 115 | WC_Admin_Taxonomies::delete_term() | No longer needed. |
class-wc-admin-webhooks.php
| Line | Element | Reason |
|---|---|---|
| 409 | WC_Admin_Webhooks::logs_output() | |
| 449 | WC_Admin_Webhooks::get_logs_navigation() |
class-wc-admin-list-table-products.php
| Line | Element | Reason |
|---|---|---|
| 445 | WC_Admin_List_Table_Products::sku_search() | Logic moved to query_filters. |
class-wc-notes-run-db-update.php
| Line | Element | Reason |
|---|---|---|
| 308 | WC_Notes_Run_Db_Update::show_reminder() |
class-wc-settings-advanced.php
| Line | Element | Reason |
|---|---|---|
| 468 | WC_Settings_Advanced::form_method() | |
| 555 | WC_Settings_Rest_API | in favour of WC_Settings_Advanced. |
class-wc-settings-page.php
| Line | Element | Reason |
|---|---|---|
| 383 | WC_Settings_Page::get_settings() | Use 'get_settings_for_section' (passing an empty string for default section) |
class-wc-cache-helper.php
| Line | Element | Reason |
|---|---|---|
| 334 | WC_Cache_Helper::delete_version_transients() | Adjusted transient usage to include versions within the transient values, making this cleanup obsolete. |
class-wc-cart-totals.php
| Line | Element | Reason |
|---|---|---|
| 614 | WC_Cart_Totals::round_merged_taxes() | `calculate_item_subtotals` should already appropriately round the tax values. |
class-wc-cart.php
| Line | Element | Reason |
|---|---|---|
| 1808 | WC_Cart::is_coupon_emails_allowed() | In favor of static method Automattic\WooCommerce\Utilities\DiscountsUtil::is_coupon_emails_allowed. |
class-wc-comments.php
| Line | Element | Reason |
|---|---|---|
| 130 | WC_Comments::exclude_order_comments_from_feed_join() | |
| 162 | WC_Comments::exclude_webhook_comments_from_feed_join() |
class-wc-countries.php
| Line | Element | Reason |
|---|---|---|
| 210 | WC_Countries::load_country_states() | This method was used to load state files, but is no longer needed. @see get_states(). |
| 465 | WC_Countries::countries_using_vat() |
class-wc-coupon.php
| Line | Element | Reason |
|---|---|---|
| 912 | WC_Coupon::is_valid() | In favor of WC_Discounts->is_coupon_valid. |
class-wc-download-handler.php
| Line | Element | Reason |
|---|---|---|
| 217 | WC_Download_Handler::count_download() |
class-wc-emails.php
| Line | Element | Reason |
|---|---|---|
| 399 | WC_Emails::email_footer_replace_site_title() | |
| 1220 | WC_Emails::order_schema_markup() |
class-wc-form-handler.php
| Line | Element | Reason |
|---|---|---|
| 760 | WC_Form_Handler::order_again() | Logic moved to cart session handling. |
class-wc-geo-ip.php
| Line | Element | Reason |
|---|---|---|
| 21 | WC_Geo_IP |
class-wc-geolite-integration.php
| Line | Element | Reason |
|---|---|---|
| 21 | WC_Geolite_Integration | |
| 54 | WC_Geolite_Integration::get_country_iso() |
class-wc-geolocation.php
| Line | Element | Reason |
|---|---|---|
| 226 | WC_Geolocation::get_local_database_path() | |
| 238 | WC_Geolocation::update_database() | Extract files with PharData. Tool built into PHP since 5.3. |
| 343 | WC_Geolocation::init() | |
| 356 | WC_Geolocation::disable_geolocation_on_legacy_php() | |
| 374 | WC_Geolocation::maybe_update_database() | |
| 25 | WC_Geolocation::GEOLITE_DB | |
| 32 | WC_Geolocation::GEOLITE_IPV6_DB | |
| 40 | WC_Geolocation::GEOLITE2_DB |
class-wc-install.php
| Line | Element | Reason |
|---|---|---|
| 430 | WC_Install::wc_admin_db_update_notice() |
class-wc-order-item-coupon.php
| Line | Element | Reason |
|---|---|---|
| 143 | WC_Order_Item_Coupon::offsetGet() | |
| 161 | WC_Order_Item_Coupon::offsetSet() |
class-wc-order-item-fee.php
| Line | Element | Reason |
|---|---|---|
| 333 | WC_Order_Item_Fee::offsetSet() | |
| 28 | WC_Order_Item_Fee::$legacy_fee | For legacy actions. |
| 36 | WC_Order_Item_Fee::$legacy_fee_key | For legacy actions. |
class-wc-order-item-product.php
| Line | Element | Reason |
|---|---|---|
| 525 | WC_Order_Item_Product::offsetSet() | |
| 28 | WC_Order_Item_Product::$legacy_values | For legacy actions. |
| 36 | WC_Order_Item_Product::$legacy_cart_item_key | For legacy actions. |
class-wc-order-item-shipping.php
| Line | Element | Reason |
|---|---|---|
| 165 | WC_Order_Item_Shipping::set_tax_status() | order shipping lines don't support setting tax status, hook into the shipping method instead. |
| 325 | WC_Order_Item_Shipping::offsetSet() |
class-wc-order-item-tax.php
| Line | Element | Reason |
|---|---|---|
| 267 | WC_Order_Item_Tax::offsetSet() |
class-wc-order-item.php
| Line | Element | Reason |
|---|---|---|
| 31 | WC_Order_Item::$legacy_values | For legacy actions. |
| 39 | WC_Order_Item::$legacy_cart_item_key | For legacy actions. |
| 82 | WC_Order_Item::$legacy_package_key | For legacy actions. |
class-wc-order-refund.php
| Line | Element | Reason |
|---|---|---|
| 208 | WC_Order_Refund::get_refund() | |
| 231 | WC_Order_Refund::get_refund_amount() | |
| 242 | WC_Order_Refund::get_refund_reason() |
class-wc-order.php
| Line | Element | Reason |
|---|---|---|
| 122 | WC_Order::$refunds |
class-wc-post-data.php
| Line | Element | Reason |
|---|---|---|
| 608 | WC_Post_Data::sync_product_stock_status() | |
| 618 | WC_Post_Data::process_product_file_download_paths() | No action is necessary on changes to download paths since download_id is no longer based on file hash. |
| 633 | WC_Post_Data::set_object_terms() |
class-wc-product-download.php
| Line | Element | Reason |
|---|---|---|
| 294 | WC_Product_Download::set_previous_hash() | No longer using filename based hashing to keep track of files. |
| 359 | WC_Product_Download::get_previous_hash() | No longer using filename based hashing to keep track of files. |
class-wc-query.php
| Line | Element | Reason |
|---|---|---|
| 984 | WC_Query::rating_filter_meta_query() | Replaced with taxonomy. |
| 995 | WC_Query::visibility_meta_query() | Replaced with taxonomy. |
| 1006 | WC_Query::stock_status_meta_query() | Replaced with taxonomy. |
| 1015 | WC_Query::layered_nav_init() | |
| 1024 | WC_Query::get_products_in_view() | due to performance concerns |
| 1035 | WC_Query::layered_nav_query() | due to performance concerns |
| 1046 | WC_Query::search_post_excerpt() | - Not needed anymore since WordPress 4.5. |
| 1056 | WC_Query::remove_posts_where() | - Nothing to remove anymore because search_post_excerpt() is deprecated. |
class-wc-shipping.php
| Line | Element | Reason |
|---|---|---|
| 442 | WC_Shipping::sort_shipping_methods() | 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 |
|---|---|---|
| 681 | WC_Shortcodes::order_by_rating_post_clauses() | Use WC_Shortcode_Products::order_by_rating_post_clauses(). |
class-wc-tax.php
| Line | Element | Reason |
|---|---|---|
| 48 | WC_Tax::maybe_remove_tax_class_rates() | |
| 547 | WC_Tax::get_shop_base_rate() |
class-wc-webhook.php
| Line | Element | Reason |
|---|---|---|
| 602 | WC_Webhook::get_delivery_log() |
class-woocommerce.php
| Line | Element | Reason |
|---|---|---|
| 92 | WooCommerce::$api | The Legacy REST API has been removed from WooCommerce core. Now this property points to a RestApiUtil instance, unless the Legacy REST API plugin is installed. |
class-wc-customer-data-store.php
| Line | Element | Reason |
|---|---|---|
| 602 | WC_Customer_Data_Store::get_user_ids_for_billing_email() | since 10.3.0 and not used by WooCommerce core anymore. |
class-wc-customer-download-data-store.php
| Line | Element | Reason |
|---|---|---|
| 496 | WC_Customer_Download_Data_Store::update_download_id() | 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 |
|---|---|---|
| 518 | WC_Order_Data_Store_CPT::get_orders() | - Use wc_get_orders instead. |
class-wc-email-customer-pos-refunded-order.php
| Line | Element | Reason |
|---|---|---|
| 159 | WC_Email_Customer_POS_Refunded_Order::set_email_strings() | Unused. |
class-wc-email-customer-refunded-order.php
| Line | Element | Reason |
|---|---|---|
| 158 | WC_Email_Customer_Refunded_Order::set_email_strings() | Unused. |
class-wc-email.php
| Line | Element | Reason |
|---|---|---|
| 245 | WC_Email::$find | in favour of placeholders |
| 253 | WC_Email::$replace | in favour of placeholders |
class-wc-gateway-paypal-pdt-handler.php
| Line | Element | Reason |
|---|---|---|
| 105 | WC_Gateway_Paypal_PDT_Handler::check_response() | Use check_response_for_order instead. |
class-wc-product-csv-importer.php
| Line | Element | Reason |
|---|---|---|
| 767 | WC_Product_CSV_Importer::get_formating_callback() |
abstract-wc-legacy-order.php
abstract-wc-legacy-payment-token.php
| Line | Element | Reason |
|---|---|---|
| 35 | WC_Legacy_Payment_Token::read() | - Init a token class with an ID. |
| 46 | WC_Legacy_Payment_Token::update() | - Use ::save instead. |
| 60 | WC_Legacy_Payment_Token::create() | - Use ::save instead. |
abstract-wc-legacy-product.php
class-wc-legacy-cart.php
| Line | Element | Reason |
|---|---|---|
| 314 | WC_Legacy_Cart::remove_taxes() | Taxes are never calculated if customer is tax except making this function unused. |
| 322 | WC_Legacy_Cart::init() | Session is loaded via hooks rather than directly. |
| 336 | WC_Legacy_Cart::get_discounted_price() | Calculation and coupon logic is handled in WC_Cart_Totals. |
| 351 | WC_Legacy_Cart::get_cart_url() | in favor to wc_get_cart_url() |
| 362 | WC_Legacy_Cart::get_checkout_url() | in favor to wc_get_checkout_url() |
| 373 | WC_Legacy_Cart::ship_to_billing_address_only() | in favor to wc_ship_to_billing_address_only() |
| 384 | WC_Legacy_Cart::coupons_enabled() | |
| 395 | WC_Legacy_Cart::get_discounts_before_tax() | Order discounts (after tax) removed in 2.3 so multiple methods for discounts are no longer required. |
| 411 | WC_Legacy_Cart::get_order_discount_total() | Order discounts (after tax) removed in 2.3. |
| 423 | WC_Legacy_Cart::apply_cart_discounts_after_tax() | Coupons can not be applied after tax. |
| 435 | WC_Legacy_Cart::apply_product_discounts_after_tax() | Coupons can not be applied after tax. |
| 444 | WC_Legacy_Cart::get_discounts_after_tax() | Coupons can not be applied after tax. |
| 29 | WC_Legacy_Cart::$cart_session_data | |
| 53 | WC_Legacy_Cart::$coupon_applied_count |
class-wc-legacy-shipping-zone.php
| Line | Element | Reason |
|---|---|---|
| 21 | WC_Legacy_Shipping_Zone::get_zone_id() | |
| 32 | WC_Legacy_Shipping_Zone::read() | - Init a shipping zone with an ID. |
| 43 | WC_Legacy_Shipping_Zone::update() | - Use ::save instead. |
| 57 | WC_Legacy_Shipping_Zone::create() | - Use ::save instead. |
class-wc-legacy-webhook.php
| Line | Element | Reason |
|---|---|---|
| 110 | WC_Legacy_Webhook::get_post_data() | |
| 123 | WC_Legacy_Webhook::update_status() |
class-wc-rest-orders-v1-controller.php
| Line | Element | Reason |
|---|---|---|
| 532 | WC_REST_Orders_V1_Controller::create_base_order() |
class-wc-rest-product-attributes-v1-controller.php
| Line | Element | Reason |
|---|---|---|
| 606 | WC_REST_Product_Attributes_V1_Controller::validate_attribute_slug() | |
| 627 | WC_REST_Product_Attributes_V1_Controller::flush_rewrite_rules() |
class-wc-rest-products-v1-controller.php
| Line | Element | Reason |
|---|---|---|
| 457 | WC_REST_Products_V1_Controller::get_product_menu_order() | |
| 838 | WC_REST_Products_V1_Controller::save_product_images() | |
| 1069 | WC_REST_Products_V1_Controller::save_product_meta() |
class-wc-rest-webhook-deliveries-v1-controller.php
| Line | Element | Reason |
|---|---|---|
| 24 | WC_REST_Webhook_Deliveries_V1_Controller | Webhooks deliveries logs now uses logging system. |
class-wc-rest-products-v2-controller.php
| Line | Element | Reason |
|---|---|---|
| 467 | WC_REST_Products_V2_Controller::get_attribute_taxonomy_label() |
class-wc-rest-system-status-v2-controller.php
| Line | Element | Reason |
|---|---|---|
| 803 | WC_REST_System_Status_V2_Controller::get_item_mappings() | |
| 880 | WC_REST_System_Status_V2_Controller::get_environment_info() |
class-wc-rest-webhook-deliveries-v2-controller.php
| Line | Element | Reason |
|---|---|---|
| 20 | WC_REST_Webhook_Deliveries_V2_Controller | Webhooks deliveries logs now uses logging system. |
Package.php
| Line | Element | Reason |
|---|---|---|
| 19 | Package | Use \Automattic\WooCommerce\RestApi\Server directly. |
| 34 | Package::init() | since 4.5.0. Directly call Automattic\WooCommerce\RestApi\Server::instance()->init() |
| 45 | Package::get_version() | since 4.5.0. This tracks WooCommerce version now. |
| 56 | Package::get_path() | since 4.5.0. Directly call Automattic\WooCommerce\RestApi\Server::get_path() |
| 27 | Package::VERSION | since 4.5.0. This tracks WooCommerce version now. |
class-wc-shipping-legacy-flat-rate.php
| Line | Element | Reason |
|---|---|---|
| 21 | WC_Shipping_Legacy_Flat_Rate | |
| 331 | WC_Shipping_Legacy_Flat_Rate::calculate_extra_shipping() | Additional rates defined like this: Option Name | Additional Cost [+- Percents%] | Per Cost Type (order, class, or item). |
| 365 | WC_Shipping_Legacy_Flat_Rate::calc_percentage_adjustment() | |
| 383 | WC_Shipping_Legacy_Flat_Rate::get_extra_cost() | |
| 50 | WC_Shipping_Legacy_Flat_Rate::$options |
class-wc-shipping-legacy-free-shipping.php
| Line | Element | Reason |
|---|---|---|
| 23 | WC_Shipping_Legacy_Free_Shipping |
class-wc-shipping-legacy-international-delivery.php
| Line | Element | Reason |
|---|---|---|
| 21 | WC_Shipping_Legacy_International_Delivery |
class-wc-shipping-legacy-local-delivery.php
| Line | Element | Reason |
|---|---|---|
| 21 | WC_Shipping_Legacy_Local_Delivery |
class-wc-shipping-legacy-local-pickup.php
| Line | Element | Reason |
|---|---|---|
| 21 | WC_Shipping_Legacy_Local_Pickup |
class-wc-admin-setup-wizard-tracking.php
class-wc-orders-tracking.php
| Line | Element | Reason |
|---|---|---|
| 49 | WC_Orders_Tracking::track_order_search() |
wc-conditional-functions.php
| Line | Element | Reason |
|---|---|---|
| 561 | wc_current_theme_is_fse_theme() | Use wp_is_block_theme() instead. |
wc-deprecated-functions.php
wc-product-functions.php
| Line | Element | Reason |
|---|---|---|
| 160 | wc_delete_related_product_transients() | This function is deprecated and will be removed in a future version. |
class-wc-widget-product-tag-cloud.php
| Line | Element | Reason |
|---|---|---|
| 103 | WC_Widget_Product_Tag_Cloud::_get_current_taxonomy() | |
| 116 | WC_Widget_Product_Tag_Cloud::_topic_count_text() |
MobileDetect.php
| Line | Element | Reason |
|---|---|---|
| 224 | MobileDetect::VER | since version 2.6.9 |
Options.php
| Line | Element | Reason |
|---|---|---|
| 31 | Options | since 6.2.0 |
Query.php
| Line | Element | Reason |
|---|---|---|
| 28 | Query | Categories\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 39 | Query::get_default_query_vars() | Categories\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 52 | Query::get_data() | Categories\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
Query.php
| Line | Element | Reason |
|---|---|---|
| 27 | Query | Coupons\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 36 | Query::get_default_query_vars() | Coupons\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 49 | Query::get_data() | Coupons\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
Query.php
| Line | Element | Reason |
|---|---|---|
| 27 | Query | Coupons\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 36 | Query::get_default_query_vars() | Coupons\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 49 | Query::get_data() | Coupons\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
Query.php
| Line | Element | Reason |
|---|---|---|
| 28 | Query | Customers\Stats\Query class is deprecated, please use `Reports\Customers\Query` with a custom name, `GenericQuery`, `\WC_Object_Query`, or use `DataStore` directly. |
| 37 | Query::get_default_query_vars() | Customers\Stats\Query class is deprecated, please use `Reports\Customers\Query` with a custom name, `GenericQuery`, `\WC_Object_Query`, or use `DataStore` directly. |
| 56 | Query::get_data() | Customers\Stats\Query class is deprecated, please use `Reports\Customers\Query` with a custom name, `GenericQuery`, `\WC_Object_Query`, or use `DataStore` directly. |
Query.php
| Line | Element | Reason |
|---|---|---|
| 27 | Query | Downloads\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 36 | Query::get_default_query_vars() | Downloads\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 49 | Query::get_data() | Downloads\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
Query.php
| Line | Element | Reason |
|---|---|---|
| 17 | Query | Downloads\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 26 | Query::get_default_query_vars() | Downloads\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 39 | Query::get_data() | Downloads\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
DataStore.php
| Line | Element | Reason |
|---|---|---|
| 664 | DataStore::maybe_update_order_statuses_transient() | Use maybe_update_order_statuses_cache(). |
Query.php
| Line | Element | Reason |
|---|---|---|
| 28 | Query | Products\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 37 | Query::get_default_query_vars() | Products\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 50 | Query::get_data() | Products\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
Query.php
| Line | Element | Reason |
|---|---|---|
| 28 | Query | Products\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 37 | Query::get_default_query_vars() | Products\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 50 | Query::get_data() | Products\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
Query.php
| Line | Element | Reason |
|---|---|---|
| 15 | Query | Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 24 | Query::__construct() | Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 36 | Query::get_data() | Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
Query.php
| Line | Element | Reason |
|---|---|---|
| 27 | Query | Taxes\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 36 | Query::get_default_query_vars() | Taxes\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 49 | Query::get_data() | Taxes\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
Query.php
| Line | Element | Reason |
|---|---|---|
| 28 | Query | Taxes\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 37 | Query::get_default_query_vars() | Taxes\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 50 | Query::get_data() | Taxes\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
Query.php
| Line | Element | Reason |
|---|---|---|
| 28 | Query | Variations\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 37 | Query::get_default_query_vars() | Variations\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 50 | Query::get_data() | Variations\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
Query.php
| Line | Element | Reason |
|---|---|---|
| 28 | Query | Variations\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 37 | Query::get_default_query_vars() | Variations\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
| 50 | Query::get_data() | Variations\Stats\Query class is deprecated. Please use `GenericQuery`, \WC_Object_Query`, or use `DataStore` directly. |
DataSourcePoller.php
| Line | Element | Reason |
|---|---|---|
| 14 | DataSourcePoller | since 8.8.0 |
| 44 | DataSourcePoller::get_specs_from_data_sources() | |
| 55 | DataSourcePoller::read_specs_from_data_sources() | |
| 66 | DataSourcePoller::delete_specs_transient() | |
| 79 | DataSourcePoller::set_specs_transient() |
FeaturePlugin.php
| Line | Element | Reason |
|---|---|---|
| 15 | FeaturePlugin | since 6.4.0 |
| 51 | FeaturePlugin::init() |
Features.php
| Line | Element | Reason |
|---|---|---|
| 268 | Features::add_features_section() | The WooCommerce Admin features are now handled by the WooCommerce features engine (see the FeaturesController class). |
| 281 | Features::add_features_settings() | The WooCommerce Admin features are now handled by the WooCommerce features engine (see the FeaturesController class). |
MarketingRecommendationsDataSourcePoller.php
| Line | Element | Reason |
|---|---|---|
| 23 | MarketingRecommendationsDataSourcePoller::DATA_SOURCES | since 9.5.0. Use get_data_sources() instead. |
Onboarding.php
| Line | Element | Reason |
|---|---|---|
| 15 | Onboarding | since 6.3.0, use WooCommerce\Internal\Admin\Onboarding. |
| 42 | Onboarding::get_allowed_industries() | |
| 53 | Onboarding::get_allowed_product_types() | |
| 64 | Onboarding::get_themes() | |
| 76 | Onboarding::get_theme_data() | |
| 87 | Onboarding::get_allowed_themes() | |
| 99 | Onboarding::get_product_data() |
Task.php
| Line | Element | Reason |
|---|---|---|
| 196 | Task::get_level() | |
| 289 | Task::is_snoozeable() | |
| 302 | Task::get_snoozed_until() | |
| 320 | Task::is_snoozed() | |
| 341 | Task::snooze() | |
| 369 | Task::undo_snooze() | |
| 452 | Task::is_disabled() | |
| 33 | Task::SNOOZED_OPTION |
TaskList.php
| Line | Element | Reason |
|---|---|---|
| 331 | TaskList::get_sections() | |
| 106 | TaskList::$sections | |
| 115 | TaskList::$task_class_id_map |
TaskListSection.php
| Line | Element | Reason |
|---|---|---|
| 13 | TaskListSection |
Marketing.php
| Line | Element | Reason |
|---|---|---|
| 99 | Marketing::get_plugins() | Removed to improve performance. |
| 113 | Marketing::has_installed_extensions() | Removed to improve performance. |
WooCommercePayments.php
| Line | Element | Reason |
|---|---|---|
| 20 | WooCommercePayments | The WooPayments onboarding task is deprecated and will be removed in a future version of WooCommerce. |
PaymentGatewaySuggestionsDataSourcePoller.php
| Line | Element | Reason |
|---|---|---|
| 23 | PaymentGatewaySuggestionsDataSourcePoller::DATA_SOURCES | since 9.5.0. Use get_data_sources() instead. |
SectionInterface.php
| Line | Element | Reason |
|---|---|---|
| 36 | SectionInterface::add_section() |
ShippingPartnerSuggestionsDataSourcePoller.php
| Line | Element | Reason |
|---|---|---|
| 23 | ShippingPartnerSuggestionsDataSourcePoller::DATA_SOURCES | since 9.5.0. Use get_data_sources() instead. |
Loader.php
| Line | Element | Reason |
|---|---|---|
| 14 | Loader | since 6.3.0, use WooCommerce\Internal\Admin\Loader. |
| 38 | Loader::is_feature_enabled() | since 5.0.0, use Features::is_enabled( $feature ) |
| 49 | Loader::is_admin_or_embed_page() | |
| 59 | Loader::is_admin_page() | |
| 69 | Loader::is_embed_page() | |
| 82 | Loader::should_use_minified_js_file() | since 6.3.0, use WCAdminAssets::should_use_minified_js_file( $script_debug ) |
DeprecatedNotes.php
| Line | Element | Reason |
|---|---|---|
| 20 | WC_Admin_Note | since 4.8.0, use Note |
| 63 | WC_Admin_Notes | since 4.8.0, use Notes |
| 84 | WC_Admin_Notes_Customize_Store_With_Blocks | since 4.8.0, use CustomizeStoreWithBlocks |
| 105 | WC_Admin_Notes_Edit_Products_On_The_Move | since 4.8.0, use EditProductsOnTheMove |
| 126 | WC_Admin_Notes_EU_VAT_Number | since 4.8.0, use EUVATNumber |
| 147 | WC_Admin_Notes_Facebook_Marketing_Expert | since 4.8.0, use FacebookMarketingExpert |
| 168 | WC_Admin_Notes_First_Product | since 4.8.0, use FirstProduct |
| 189 | WC_Admin_Notes_Giving_Feedback_Notes | since 4.8.0, use GivingFeedbackNotes |
| 210 | WC_Admin_Notes_Install_JP_And_WCS_Plugins | since 4.8.0, use InstallJPAndWCSPlugins |
| 231 | WC_Admin_Notes_Launch_Checklist | since 4.8.0, use LaunchChecklist |
| 252 | WC_Admin_Notes_Migrate_From_Shopify | since 4.8.0, use MigrateFromShopify |
| 273 | WC_Admin_Notes_Mobile_App | since 4.8.0, use MobileApp |
| 294 | WC_Admin_Notes_New_Sales_Record | since 4.8.0, use NewSalesRecord |
| 315 | WC_Admin_Notes_Onboarding_Email_Marketing | since 4.8.0, use OnboardingEmailMarketing |
| 336 | WC_Admin_Notes_Onboarding_Payments | since 4.8.0, use OnboardingPayments |
| 357 | WC_Admin_Notes_Online_Clothing_Store | since 4.8.0, use OnlineClothingStore |
| 378 | WC_Admin_Notes_Order_Milestones | since 4.8.0, use OrderMilestones |
| 399 | WC_Admin_Notes_Performance_On_Mobile | since 4.8.0, use PerformanceOnMobile |
| 420 | WC_Admin_Notes_Personalize_Store | since 4.8.0, use PersonalizeStore |
| 441 | WC_Admin_Notes_Real_Time_Order_Alerts | since 4.8.0, use RealTimeOrderAlerts |
| 462 | WC_Admin_Notes_Selling_Online_Courses | since 4.8.0, use SellingOnlineCourses |
| 483 | WC_Admin_Notes_Tracking_Opt_In | since 4.8.0, use TrackingOptIn |
| 504 | WC_Admin_Notes_Woo_Subscriptions_Notes | since 4.8.0, use WooSubscriptionsNotes |
| 525 | WC_Admin_Notes_WooCommerce_Payments | since 4.8.0, use WooCommercePayments |
| 546 | WC_Admin_Notes_WooCommerce_Subscriptions | since 4.8.0, use WooCommerceSubscriptions |
RemoteInboxNotificationsDataSourcePoller.php
| Line | Element | Reason |
|---|---|---|
| 27 | RemoteInboxNotificationsDataSourcePoller::DATA_SOURCES | since 9.5.0. Use get_data_sources() instead. |
RuleProcessorInterface.php
| Line | Element | Reason |
|---|---|---|
| 17 | RuleProcessorInterface | Use \Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors\RuleProcessorInterface instead. |
TransformerInterface.php
| Line | Element | Reason |
|---|---|---|
| 21 | TransformerInterface | Use \Automattic\WooCommerce\Admin\RemoteSpecs\Transformers\TransformerInterface instead. |
WCAdminHelper.php
| Line | Element | Reason |
|---|---|---|
| 194 | WCAdminHelper::is_store_page() | Use is_current_page_store_page instead. |
CheckoutFields.php
| Line | Element | Reason |
|---|---|---|
| 986 | CheckoutFields::get_additional_fields_keys() | Use get_order_fields_keys instead. |
| 76 | CheckoutFields::ADDITIONAL_FIELDS_PREFIX | Use OTHER_FIELDS_PREFIX instead. |
CreateAccount.php
| Line | Element | Reason |
|---|---|---|
| 13 | CreateAccount | This class can't be removed due to https://github.com/woocommerce/woocommerce/issues/52311. |
CustomerNewAccount.php
| Line | Element | Reason |
|---|---|---|
| 13 | CustomerNewAccount | This class can't be removed due to https://github.com/woocommerce/woocommerce/issues/52311. |
functions.php
| Line | Element | Reason |
|---|---|---|
| 44 | __experimental_woocommerce_blocks_register_checkout_field() | Use woocommerce_register_additional_checkout_field() instead. |
Package.php
| Line | Element | Reason |
|---|---|---|
| 71 | Package::feature() | since 9.6, use wp_get_environment_type() instead. |
BlocksWpQuery.php
| Line | Element | Reason |
|---|---|---|
| 14 | BlocksWpQuery |
OrderCountCache.php
| Line | Element | Reason |
|---|---|---|
| 80 | OrderCountCache::get_default_statuses() | This method will be removed in the future. |
TableMigrator.php
| Line | Element | Reason |
|---|---|---|
| 104 | TableMigrator::process_migration_batch_for_ids() | Use `fetch_sanitized_migration_data` and `process_migration_data` instead. |
| 153 | TableMigrator::process_migration_batch_for_ids_core() | Use `fetch_sanitized_migration_data` and `process_migration_data` instead. |
