WooCommerce Code Reference

Deprecated

Table of Contents

woocommerce/includes/abstracts/abstract-wc-settings-api.php
woocommerce/includes/abstracts/abstract-wc-shipping-method.php
woocommerce/includes/admin/class-wc-admin-duplicate-product.php
woocommerce/includes/admin/class-wc-admin-menus.php
woocommerce/includes/admin/class-wc-admin-notices.php
woocommerce/includes/admin/class-wc-admin-post-types.php
woocommerce/includes/admin/class-wc-admin-setup-wizard.php
woocommerce/includes/admin/class-wc-admin-taxonomies.php
woocommerce/includes/admin/class-wc-admin-webhooks-table-list.php
woocommerce/includes/admin/class-wc-admin-webhooks.php
woocommerce/includes/admin/list-tables/class-wc-admin-list-table-products.php
woocommerce/includes/admin/notes/class-wc-notes-run-db-update.php
woocommerce/includes/admin/settings/class-wc-settings-advanced.php
woocommerce/includes/admin/settings/class-wc-settings-page.php
woocommerce/includes/class-wc-background-emailer.php
woocommerce/includes/class-wc-cache-helper.php
woocommerce/includes/class-wc-cart-totals.php
woocommerce/includes/class-wc-cart.php
woocommerce/includes/class-wc-comments.php
woocommerce/includes/class-wc-countries.php
woocommerce/includes/class-wc-coupon.php
woocommerce/includes/class-wc-download-handler.php
woocommerce/includes/class-wc-emails.php
woocommerce/includes/class-wc-form-handler.php
woocommerce/includes/class-wc-geo-ip.php
woocommerce/includes/class-wc-geolite-integration.php
woocommerce/includes/class-wc-geolocation.php
woocommerce/includes/class-wc-install.php
woocommerce/includes/class-wc-order-item-coupon.php
woocommerce/includes/class-wc-order-item-fee.php
woocommerce/includes/class-wc-order-item-product.php
woocommerce/includes/class-wc-order-item-shipping.php
woocommerce/includes/class-wc-order-item-tax.php
woocommerce/includes/class-wc-order-item.php
woocommerce/includes/class-wc-order-refund.php
woocommerce/includes/class-wc-order.php
woocommerce/includes/class-wc-post-data.php
woocommerce/includes/class-wc-product-download.php
woocommerce/includes/class-wc-query.php
woocommerce/includes/class-wc-shipping.php
woocommerce/includes/class-wc-shortcodes.php
woocommerce/includes/class-wc-tax.php
woocommerce/includes/class-wc-webhook.php
woocommerce/includes/class-woocommerce.php
woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php
woocommerce/includes/data-stores/class-wc-customer-data-store.php
woocommerce/includes/data-stores/class-wc-customer-download-data-store.php
woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php
woocommerce/includes/emails/class-wc-email-customer-pos-refunded-order.php
woocommerce/includes/emails/class-wc-email-customer-refunded-order.php
woocommerce/includes/emails/class-wc-email.php
woocommerce/includes/gateways/paypal/class-wc-gateway-paypal-buttons.php
woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-constants.php
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-notices.php
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-webhook-handler.php
woocommerce/includes/import/class-wc-product-csv-importer.php
woocommerce/includes/legacy/abstract-wc-legacy-order.php
woocommerce/includes/legacy/abstract-wc-legacy-payment-token.php
woocommerce/includes/legacy/abstract-wc-legacy-product.php
woocommerce/includes/legacy/class-wc-legacy-cart.php
woocommerce/includes/legacy/class-wc-legacy-shipping-zone.php
woocommerce/includes/legacy/class-wc-legacy-webhook.php
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-webhook-deliveries-v2-controller.php
woocommerce/includes/rest-api/Package.php
woocommerce/includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
woocommerce/includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
woocommerce/includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php
woocommerce/includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
woocommerce/includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
woocommerce/includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
woocommerce/includes/tracks/events/class-wc-orders-tracking.php
woocommerce/includes/wc-conditional-functions.php
woocommerce/includes/wc-core-functions.php
woocommerce/includes/wc-deprecated-functions.php
woocommerce/includes/wc-product-functions.php
woocommerce/includes/widgets/class-wc-widget-product-tag-cloud.php
woocommerce/lib/packages/Detection/MobileDetect.php
woocommerce/lib/packages/GraphQL/Deferred.php
woocommerce/lib/packages/GraphQL/Executor/Promise/Adapter/SyncPromise.php
woocommerce/lib/packages/GraphQL/GraphQL.php
woocommerce/lib/packages/GraphQL/Type/Definition/Directive.php
woocommerce/lib/packages/GraphQL/Type/Definition/Type.php
woocommerce/lib/packages/Sabberworm/CSS/Comment/Comment.php
woocommerce/lib/packages/Sabberworm/CSS/CSSList/AtRuleBlockList.php
woocommerce/lib/packages/Sabberworm/CSS/CSSList/CSSList.php
woocommerce/lib/packages/Sabberworm/CSS/CSSList/Document.php
woocommerce/lib/packages/Sabberworm/CSS/CSSList/KeyFrame.php
woocommerce/lib/packages/Sabberworm/CSS/OutputFormat.php
woocommerce/lib/packages/Sabberworm/CSS/Parser.php
woocommerce/lib/packages/Sabberworm/CSS/Position/Positionable.php
woocommerce/lib/packages/Sabberworm/CSS/Property/Charset.php
woocommerce/lib/packages/Sabberworm/CSS/Property/CSSNamespace.php
woocommerce/lib/packages/Sabberworm/CSS/Property/Import.php
woocommerce/lib/packages/Sabberworm/CSS/Property/Selector.php
woocommerce/lib/packages/Sabberworm/CSS/Renderable.php
woocommerce/lib/packages/Sabberworm/CSS/Rule/Rule.php
woocommerce/lib/packages/Sabberworm/CSS/RuleSet/AtRuleSet.php
woocommerce/lib/packages/Sabberworm/CSS/RuleSet/DeclarationBlock.php
woocommerce/lib/packages/Sabberworm/CSS/RuleSet/RuleSet.php
woocommerce/lib/packages/Sabberworm/CSS/Value/Color.php
woocommerce/lib/packages/Sabberworm/CSS/Value/CSSFunction.php
woocommerce/lib/packages/Sabberworm/CSS/Value/CSSString.php
woocommerce/lib/packages/Sabberworm/CSS/Value/LineName.php
woocommerce/lib/packages/Sabberworm/CSS/Value/Size.php
woocommerce/lib/packages/Sabberworm/CSS/Value/URL.php
woocommerce/lib/packages/Sabberworm/CSS/Value/ValueList.php
woocommerce/packages/email-editor/src/Engine/class-email-api-controller.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Comment/Comment.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/CSSList/AtRuleBlockList.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/CSSList/CSSList.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/CSSList/Document.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/CSSList/KeyFrame.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/OutputFormat.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Parser.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Position/Positionable.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Property/Charset.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Property/CSSNamespace.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Property/Import.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Property/Selector.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Renderable.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Rule/Rule.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/RuleSet/AtRuleSet.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/RuleSet/DeclarationBlock.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/RuleSet/RuleSet.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/Color.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/CSSFunction.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/CSSString.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/LineName.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/Size.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/URL.php
woocommerce/packages/email-editor/vendor-prefixed/packages/Sabberworm/CSS/Value/ValueList.php
woocommerce/src/Admin/API/Options.php
woocommerce/src/Admin/API/Reports/Categories/Query.php
woocommerce/src/Admin/API/Reports/Coupons/Query.php
woocommerce/src/Admin/API/Reports/Coupons/Stats/Query.php
woocommerce/src/Admin/API/Reports/Customers/Stats/Query.php
woocommerce/src/Admin/API/Reports/Downloads/Query.php
woocommerce/src/Admin/API/Reports/Downloads/Stats/Query.php
woocommerce/src/Admin/API/Reports/Orders/DataStore.php
woocommerce/src/Admin/API/Reports/Products/Query.php
woocommerce/src/Admin/API/Reports/Products/Stats/Query.php
woocommerce/src/Admin/API/Reports/Query.php
woocommerce/src/Admin/API/Reports/Taxes/Query.php
woocommerce/src/Admin/API/Reports/Taxes/Stats/Query.php
woocommerce/src/Admin/API/Reports/Variations/Query.php
woocommerce/src/Admin/API/Reports/Variations/Stats/Query.php
woocommerce/src/Admin/DataSourcePoller.php
woocommerce/src/Admin/FeaturePlugin.php
woocommerce/src/Admin/Features/Features.php
woocommerce/src/Admin/Features/MarketingRecommendations/MarketingRecommendationsDataSourcePoller.php
woocommerce/src/Admin/Features/Onboarding.php
woocommerce/src/Admin/Features/OnboardingTasks/Task.php
woocommerce/src/Admin/Features/OnboardingTasks/TaskList.php
woocommerce/src/Admin/Features/OnboardingTasks/TaskListSection.php
woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Marketing.php
woocommerce/src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php
woocommerce/src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaySuggestionsDataSourcePoller.php
woocommerce/src/Admin/Features/ProductBlockEditor/BlockRegistry.php
woocommerce/src/Admin/Features/ProductBlockEditor/BlockTemplateUtils.php
woocommerce/src/Admin/Features/ProductBlockEditor/Init.php
woocommerce/src/Admin/Features/ProductBlockEditor/ProductFormsController.php
woocommerce/src/Admin/Features/ProductBlockEditor/ProductTemplate.php
woocommerce/src/Admin/Features/ProductBlockEditor/ProductTemplates/GroupInterface.php
woocommerce/src/Admin/Features/ProductBlockEditor/ProductTemplates/ProductFormTemplateInterface.php
woocommerce/src/Admin/Features/ProductBlockEditor/ProductTemplates/SectionInterface.php
woocommerce/src/Admin/Features/ProductBlockEditor/ProductTemplates/SubsectionInterface.php
woocommerce/src/Admin/Features/ProductBlockEditor/RedirectionController.php
woocommerce/src/Admin/Features/ProductBlockEditor/Tracks.php
woocommerce/src/Admin/Features/ShippingPartnerSuggestions/ShippingPartnerSuggestionsDataSourcePoller.php
woocommerce/src/Admin/Loader.php
woocommerce/src/Admin/Notes/DeprecatedNotes.php
woocommerce/src/Admin/Notes/Note.php
woocommerce/src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsDataSourcePoller.php
woocommerce/src/Admin/RemoteInboxNotifications/RuleProcessorInterface.php
woocommerce/src/Admin/RemoteInboxNotifications/TransformerInterface.php
woocommerce/src/Admin/WCAdminHelper.php
woocommerce/src/Blocks/BlockTypes/AbstractBlock.php
woocommerce/src/Blocks/Domain/Services/CheckoutFields.php
woocommerce/src/Blocks/Domain/Services/CreateAccount.php
woocommerce/src/Blocks/Domain/Services/Email/CustomerNewAccount.php
woocommerce/src/Blocks/Domain/Services/functions.php
woocommerce/src/Blocks/Package.php
woocommerce/src/Blocks/Utils/BlocksWpQuery.php
woocommerce/src/Blocks/Utils/CartCheckoutUtils.php
woocommerce/src/Caches/OrderCountCache.php
woocommerce/src/Database/Migrations/TableMigrator.php

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
253 WC_Admin_Duplicate_Product::get_product_to_duplicate()

class-wc-admin-menus.php

Line Element Reason
222 WC_Admin_Menus::addons_menu() The marketplace feature is now always enabled. Use the Extensions menu instead.

class-wc-admin-notices.php

Line Element Reason
91 WC_Admin_Notices::prepare_note_with_nonce()
409 WC_Admin_Notices::install_notice()
556 WC_Admin_Notices::wp_php_min_requirements_notice() WordPress and PHP minimum requirements notices are no longer shown.
728 WC_Admin_Notices::simplify_commerce_notice() No longer shown.
738 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

Line Element Reason
67 WC_Admin_Setup_Wizard::__construct()
77 WC_Admin_Setup_Wizard::admin_menus()
89 WC_Admin_Setup_Wizard::should_show_theme()
108 WC_Admin_Setup_Wizard::should_show_automated_tax()
131 WC_Admin_Setup_Wizard::should_show_mailchimp()
144 WC_Admin_Setup_Wizard::should_show_facebook()
156 WC_Admin_Setup_Wizard::is_wc_admin_active()
171 WC_Admin_Setup_Wizard::should_show_wc_admin()
183 WC_Admin_Setup_Wizard::should_show_wc_admin_onboarding()
197 WC_Admin_Setup_Wizard::should_show_recommended_step()
214 WC_Admin_Setup_Wizard::enqueue_scripts()
224 WC_Admin_Setup_Wizard::setup_wizard()
315 WC_Admin_Setup_Wizard::get_next_step_link()
340 WC_Admin_Setup_Wizard::setup_wizard_header()
369 WC_Admin_Setup_Wizard::setup_wizard_footer()
390 WC_Admin_Setup_Wizard::setup_wizard_steps()
436 WC_Admin_Setup_Wizard::setup_wizard_content()
451 WC_Admin_Setup_Wizard::wc_setup_new_onboarding()
479 WC_Admin_Setup_Wizard::wc_setup_new_onboarding_save()
623 WC_Admin_Setup_Wizard::tracking_modal()
675 WC_Admin_Setup_Wizard::wc_setup_store_setup_save()
718 WC_Admin_Setup_Wizard::run_deferred_actions()
744 WC_Admin_Setup_Wizard::install_plugin()
781 WC_Admin_Setup_Wizard::install_theme()
801 WC_Admin_Setup_Wizard::install_jetpack()
818 WC_Admin_Setup_Wizard::install_woocommerce_services()
836 WC_Admin_Setup_Wizard::get_wcs_requisite_plugins()
860 WC_Admin_Setup_Wizard::plugin_install_info()
879 WC_Admin_Setup_Wizard::get_wizard_shipping_methods()
913 WC_Admin_Setup_Wizard::shipping_method_selection_form()
974 WC_Admin_Setup_Wizard::get_product_weight_selection()
998 WC_Admin_Setup_Wizard::get_product_dimension_selection()
1023 WC_Admin_Setup_Wizard::wc_setup_shipping()
1193 WC_Admin_Setup_Wizard::wc_setup_shipping_save()
1206 WC_Admin_Setup_Wizard::is_stripe_supported_country()
1243 WC_Admin_Setup_Wizard::is_paypal_supported_currency()
1285 WC_Admin_Setup_Wizard::is_klarna_checkout_supported_country()
1304 WC_Admin_Setup_Wizard::is_klarna_payments_supported_country()
1322 WC_Admin_Setup_Wizard::is_square_supported_country()
1342 WC_Admin_Setup_Wizard::is_eway_payments_supported_country()
1359 WC_Admin_Setup_Wizard::is_shipstation_supported_country()
1377 WC_Admin_Setup_Wizard::is_wcs_shipping_labels_supported_country()
1391 WC_Admin_Setup_Wizard::get_current_user_email()
1405 WC_Admin_Setup_Wizard::get_wizard_available_in_cart_payment_gateways()
1551 WC_Admin_Setup_Wizard::get_wizard_in_cart_payment_gateways()
1621 WC_Admin_Setup_Wizard::get_wizard_manual_payment_gateways()
1656 WC_Admin_Setup_Wizard::display_service_item()
1764 WC_Admin_Setup_Wizard::is_featured_service()
1777 WC_Admin_Setup_Wizard::is_not_featured_service()
1788 WC_Admin_Setup_Wizard::wc_setup_payment()
1865 WC_Admin_Setup_Wizard::wc_setup_payment_save()
1877 WC_Admin_Setup_Wizard::display_recommended_item()
1921 WC_Admin_Setup_Wizard::wc_setup_recommended()
2010 WC_Admin_Setup_Wizard::wc_setup_recommended_save()
2038 WC_Admin_Setup_Wizard::wc_setup_activate_get_feature_list()
2063 WC_Admin_Setup_Wizard::wc_setup_activate_get_feature_list_str()
2090 WC_Admin_Setup_Wizard::wc_setup_activate()
2236 WC_Admin_Setup_Wizard::get_all_activate_errors()
2254 WC_Admin_Setup_Wizard::get_activate_error_message()
2268 WC_Admin_Setup_Wizard::wc_setup_activate_save()
2278 WC_Admin_Setup_Wizard::wc_setup_ready()

class-wc-admin-taxonomies.php

Line Element Reason
116 WC_Admin_Taxonomies::delete_term() No longer needed.

class-wc-admin-webhooks-table-list.php

Line Element Reason
333 WC_Admin_Webhooks_Table_List::get_legacy_api_webhooks_count() The Legacy REST API has been removed from WooCommerce core. This always returns 0.

class-wc-admin-webhooks.php

Line Element Reason
332 WC_Admin_Webhooks::logs_output()
372 WC_Admin_Webhooks::get_logs_navigation()

class-wc-admin-list-table-products.php

Line Element Reason
474 WC_Admin_List_Table_Products::sku_search() Logic moved to query_filters.

class-wc-notes-run-db-update.php

Line Element Reason
313 WC_Notes_Run_Db_Update::show_reminder()

class-wc-settings-advanced.php

Line Element Reason
521 WC_Settings_Advanced::form_method()
608 WC_Settings_Rest_API in favour of WC_Settings_Advanced.

class-wc-settings-page.php

Line Element Reason
219 WC_Settings_Page::get_settings() Use 'get_settings_for_section' (passing an empty string for default section)

class-wc-background-emailer.php

Line Element Reason
22 WC_Background_Emailer Deferred emails now use Action Scheduler. No stable public replacement exists.

class-wc-cache-helper.php

Line Element Reason
343 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
1966 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
144 WC_Comments::exclude_order_comments_from_feed_join()
176 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
979 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
437 WC_Emails::email_footer_replace_site_title()
1277 WC_Emails::order_schema_markup()

class-wc-form-handler.php

Line Element Reason
785 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
228 WC_Geolocation::get_local_database_path()
240 WC_Geolocation::update_database() Extract files with PharData. Tool built into PHP since 5.3.
345 WC_Geolocation::init()
358 WC_Geolocation::disable_geolocation_on_legacy_php()
376 WC_Geolocation::maybe_update_database()
27 WC_Geolocation::GEOLITE_DB
34 WC_Geolocation::GEOLITE_IPV6_DB
42 WC_Geolocation::GEOLITE2_DB

class-wc-install.php

Line Element Reason
467 WC_Install::wc_admin_db_update_notice()
2937 WC_Install::add_admin_note_after_page_created() No longer used.

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
357 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
589 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
189 WC_Order_Item_Shipping::set_tax_status() order shipping lines don't support setting tax status, hook into the shipping method instead.
349 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
123 WC_Order::$refunds

class-wc-post-data.php

Line Element Reason
745 WC_Post_Data::sync_product_stock_status()
757 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.
774 WC_Post_Data::set_object_terms()

class-wc-product-download.php

Line Element Reason
313 WC_Product_Download::set_previous_hash() No longer using filename based hashing to keep track of files.
399 WC_Product_Download::get_previous_hash() No longer using filename based hashing to keep track of files.

class-wc-query.php

Line Element Reason
1087 WC_Query::rating_filter_meta_query() Replaced with taxonomy.
1098 WC_Query::visibility_meta_query() Replaced with taxonomy.
1109 WC_Query::stock_status_meta_query() Replaced with taxonomy.
1118 WC_Query::layered_nav_init()
1127 WC_Query::get_products_in_view() due to performance concerns
1138 WC_Query::layered_nav_query() due to performance concerns
1149 WC_Query::search_post_excerpt() - Not needed anymore since WordPress 4.5.
1159 WC_Query::remove_posts_where() - Nothing to remove anymore because search_post_excerpt() is deprecated.

class-wc-shipping.php

Line Element Reason
445 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
50 WC_Tax::maybe_remove_tax_class_rates()
562 WC_Tax::get_shop_base_rate()

class-wc-webhook.php

Line Element Reason
617 WC_Webhook::get_delivery_log()

class-woocommerce.php

Line Element Reason
99 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.

abstract-wc-order-data-store-cpt.php

Line Element Reason
768 Abstract_WC_Order_Data_Store_CPT::prime_needs_processing_transients() `\WC_Order::needs_processing` method no longer uses transients.

class-wc-customer-data-store.php

Line Element Reason
641 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
491 WC_Order_Data_Store_CPT::get_orders() - Use wc_get_orders instead.

class-wc-email-customer-pos-refunded-order.php

Line Element Reason
166 WC_Email_Customer_POS_Refunded_Order::set_email_strings() Unused.

class-wc-email-customer-refunded-order.php

Line Element Reason
163 WC_Email_Customer_Refunded_Order::set_email_strings() Unused.

class-wc-email.php

Line Element Reason
259 WC_Email::$find in favour of placeholders
267 WC_Email::$replace in favour of placeholders

class-wc-gateway-paypal-buttons.php

Line Element Reason
27 WC_Gateway_Paypal_Buttons Use Automattic\WooCommerce\Gateways\PayPal\Buttons instead. This class will be removed in 11.0.0.
52 WC_Gateway_Paypal_Buttons::get_options() Use Automattic\WooCommerce\Gateways\PayPal\Buttons::get_options() instead. This method will be removed in 11.0.0.
69 WC_Gateway_Paypal_Buttons::get_common_options() Use Automattic\WooCommerce\Gateways\PayPal\Buttons::get_common_options() instead. This method will be removed in 11.0.0.
86 WC_Gateway_Paypal_Buttons::get_client_id() Use Automattic\WooCommerce\Gateways\PayPal\Buttons::get_client_id() instead. This method will be removed in 11.0.0.
103 WC_Gateway_Paypal_Buttons::get_page_type() Use Automattic\WooCommerce\Gateways\PayPal\Buttons::get_page_type() instead. This method will be removed in 11.0.0.
120 WC_Gateway_Paypal_Buttons::is_enabled() Use Automattic\WooCommerce\Gateways\PayPal\Buttons::is_enabled() instead. This method will be removed in 11.0.0.
138 WC_Gateway_Paypal_Buttons::get_current_page_for_app_switch() Use Automattic\WooCommerce\Gateways\PayPal\Buttons::get_current_page_for_app_switch() instead. This method will be removed in 11.0.0.

class-wc-gateway-paypal.php

Line Element Reason
472 WC_Gateway_Paypal::get_icon_image() Use get_paypal_icon_image() instead.

class-wc-gateway-paypal-constants.php

Line Element Reason
25 WC_Gateway_Paypal_Constants Use Automattic\WooCommerce\Gateways\PayPal\Constants instead. This class will be removed in 11.0.0.
31 WC_Gateway_Paypal_Constants::WPCOM_PROXY_REQUEST_TIMEOUT Use Automattic\WooCommerce\Gateways\PayPal\Constants::WPCOM_PROXY_REQUEST_TIMEOUT instead.
38 WC_Gateway_Paypal_Constants::STATUS_COMPLETED Use Automattic\WooCommerce\Gateways\PayPal\Constants::STATUS_* instead.
50 WC_Gateway_Paypal_Constants::INTENT_CAPTURE Use Automattic\WooCommerce\Gateways\PayPal\Constants::INTENT_* instead.
58 WC_Gateway_Paypal_Constants::PAYMENT_ACTION_CAPTURE Use Automattic\WooCommerce\Gateways\PayPal\Constants::PAYMENT_ACTION_* instead.
66 WC_Gateway_Paypal_Constants::SHIPPING_NO_SHIPPING Use Automattic\WooCommerce\Gateways\PayPal\Constants::SHIPPING_* instead.
75 WC_Gateway_Paypal_Constants::USER_ACTION_PAY_NOW Use Automattic\WooCommerce\Gateways\PayPal\Constants::USER_ACTION_* instead.
82 WC_Gateway_Paypal_Constants::PAYPAL_ORDER_ITEM_NAME_MAX_LENGTH Use Automattic\WooCommerce\Gateways\PayPal\Constants::PAYPAL_* instead.
96 WC_Gateway_Paypal_Constants::PAYMENT_SOURCE_PAYPAL Use Automattic\WooCommerce\Gateways\PayPal\Constants::PAYMENT_SOURCE_* instead.
107 WC_Gateway_Paypal_Constants::FIELDS_TO_REDACT Use Automattic\WooCommerce\Gateways\PayPal\Constants::FIELDS_TO_REDACT instead.
115 WC_Gateway_Paypal_Constants::SUPPORTED_CURRENCIES Use Automattic\WooCommerce\Gateways\PayPal\Constants::SUPPORTED_CURRENCIES instead.

class-wc-gateway-paypal-helper.php

Line Element Reason
26 WC_Gateway_Paypal_Helper Use Automattic\WooCommerce\Gateways\PayPal\Helper instead. This class will be removed in 11.0.0.
33 WC_Gateway_Paypal_Helper::is_paypal_gateway_available() Use Automattic\WooCommerce\Gateways\PayPal\Helper::is_paypal_gateway_available() instead.
44 WC_Gateway_Paypal_Helper::is_orders_v2_migration_eligible() Use Automattic\WooCommerce\Gateways\PayPal\Helper::is_orders_v2_migration_eligible() instead.
56 WC_Gateway_Paypal_Helper::get_wc_order_from_paypal_custom_id() Use Automattic\WooCommerce\Gateways\PayPal\Helper::get_wc_order_from_paypal_custom_id() instead.
75 WC_Gateway_Paypal_Helper::redact_data() Use Automattic\WooCommerce\Gateways\PayPal\Helper::redact_data() instead.
87 WC_Gateway_Paypal_Helper::mask_email() Use Automattic\WooCommerce\Gateways\PayPal\Helper::mask_email() instead.
100 WC_Gateway_Paypal_Helper::update_addresses_in_order() Use Automattic\WooCommerce\Gateways\PayPal\Helper::update_addresses_in_order() instead.

class-wc-gateway-paypal-notices.php

Line Element Reason
27 WC_Gateway_Paypal_Notices Use Automattic\WooCommerce\Gateways\PayPal\Notices instead. This class will be removed in 11.0.0.
49 WC_Gateway_Paypal_Notices::add_paypal_notices() Use Automattic\WooCommerce\Gateways\PayPal\Notices::add_paypal_notices() instead.
61 WC_Gateway_Paypal_Notices::add_paypal_notices_on_payments_settings_page() Use Automattic\WooCommerce\Gateways\PayPal\Notices::add_paypal_notices_on_payments_settings_page() instead.
72 WC_Gateway_Paypal_Notices::add_paypal_migration_notice_on_payments_settings_page() No longer used. Functionality is now handled by add_paypal_notices_on_payments_settings_page().
84 WC_Gateway_Paypal_Notices::add_paypal_migration_notice() Use Automattic\WooCommerce\Gateways\PayPal\Notices::add_paypal_migration_notice() instead.
95 WC_Gateway_Paypal_Notices::paypal_migration_notice_dismissed() No longer used. Functionality is now handled by is_notice_dismissed().
107 WC_Gateway_Paypal_Notices::set_account_restriction_flag() Use Automattic\WooCommerce\Gateways\PayPal\Notices::set_account_restriction_flag() instead.
119 WC_Gateway_Paypal_Notices::clear_account_restriction_flag() Use Automattic\WooCommerce\Gateways\PayPal\Notices::clear_account_restriction_flag() instead.
134 WC_Gateway_Paypal_Notices::manage_account_restriction_flag_for_notice() Use Automattic\WooCommerce\Gateways\PayPal\Notices::manage_account_restriction_flag_for_notice() instead.

class-wc-gateway-paypal-pdt-handler.php

Line Element Reason
107 WC_Gateway_Paypal_PDT_Handler::check_response() Use check_response_for_order instead.

class-wc-gateway-paypal-request.php

Line Element Reason
111 WC_Gateway_Paypal_Request::create_paypal_order() Use Automattic\WooCommerce\Gateways\PayPal\Request::create_paypal_order() instead. This method will be removed in 11.0.0.
132 WC_Gateway_Paypal_Request::get_paypal_order_details() Use Automattic\WooCommerce\Gateways\PayPal\Request::get_paypal_order_details() instead. This method will be removed in 11.0.0.
150 WC_Gateway_Paypal_Request::authorize_or_capture_payment() Use Automattic\WooCommerce\Gateways\PayPal\Request::authorize_or_capture_payment() instead.
166 WC_Gateway_Paypal_Request::capture_authorized_payment() Use Automattic\WooCommerce\Gateways\PayPal\Request::capture_authorized_payment() instead. This method will be removed in 11.0.0.
181 WC_Gateway_Paypal_Request::get_paypal_order_purchase_unit_amount() Use Automattic\WooCommerce\Gateways\PayPal\Request::get_paypal_order_purchase_unit_amount() instead. This method will be removed in 11.0.0.
196 WC_Gateway_Paypal_Request::fetch_paypal_client_id() Use Automattic\WooCommerce\Gateways\PayPal\Request::fetch_paypal_client_id() instead. This method will be removed in 11.0.0.

class-wc-gateway-paypal-transact-account-manager.php

Line Element Reason
23 WC_Gateway_Paypal_Transact_Account_Manager Use Automattic\WooCommerce\Gateways\PayPal\TransactAccountManager instead. This class will be removed in 11.0.0.
47 WC_Gateway_Paypal_Transact_Account_Manager::do_onboarding() Use Automattic\WooCommerce\Gateways\PayPal\TransactAccountManager::do_onboarding() instead. This method will be removed in 11.0.0.
66 WC_Gateway_Paypal_Transact_Account_Manager::get_transact_account_data() Use Automattic\WooCommerce\Gateways\PayPal\TransactAccountManager::get_transact_account_data() instead. This method will be removed in 11.0.0.

class-wc-gateway-paypal-webhook-handler.php

Line Element Reason
31 WC_Gateway_Paypal_Webhook_Handler Deprecated in favor of Automattic\WooCommerce\Gateways\PayPal\WebhookHandler
58 WC_Gateway_Paypal_Webhook_Handler::process_webhook() Use Automattic\WooCommerce\Gateways\PayPal\WebhookHandler::process_webhook() instead. This method will be removed in 11.0.0.
58 WC_Gateway_Paypal_Webhook_Handler::process_webhook() Deprecated in favor of Automattic\WooCommerce\Gateways\PayPal\WebhookHandler::process_webhook

class-wc-product-csv-importer.php

Line Element Reason
767 WC_Product_CSV_Importer::get_formating_callback()

abstract-wc-legacy-order.php

Line Element Reason
322 WC_Abstract_Legacy_Order::get_product_from_item()
474 WC_Abstract_Legacy_Order::has_meta()
569 WC_Abstract_Legacy_Order::get_total_shipping() since this is an alias only.
581 WC_Abstract_Legacy_Order::get_item_meta()
611 WC_Abstract_Legacy_Order::get_used_coupons() - Replaced with better named method to reflect the actual data being returned.
623 WC_Abstract_Legacy_Order::expand_item_meta() Item meta no longer expanded due to new order item classes. This function now does nothing to avoid data breakage.
633 WC_Abstract_Legacy_Order::init() Logic moved to constructor
652 WC_Abstract_Legacy_Order::get_order()
674 WC_Abstract_Legacy_Order::populate()
686 WC_Abstract_Legacy_Order::cancel_order() Moved to event handler.
696 WC_Abstract_Legacy_Order::record_product_sales()
705 WC_Abstract_Legacy_Order::increase_coupon_usage_counts()
714 WC_Abstract_Legacy_Order::decrease_coupon_usage_counts()
723 WC_Abstract_Legacy_Order::reduce_order_stock()
736 WC_Abstract_Legacy_Order::send_stock_notifications() No longer needs to be called directly.
746 WC_Abstract_Legacy_Order::email_order_items_table() Moved to template functions.
755 WC_Abstract_Legacy_Order::get_order_currency()

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

Line Element Reason
166 WC_Abstract_Legacy_Product::get_variation_default_attributes()
177 WC_Abstract_Legacy_Product::get_gallery_attachment_ids()
192 WC_Abstract_Legacy_Product::set_stock()
204 WC_Abstract_Legacy_Product::reduce_stock()
216 WC_Abstract_Legacy_Product::increase_stock()
226 WC_Abstract_Legacy_Product::check_stock_status() Sync is done automatically on read/save, so calling this should not be needed any more.
238 WC_Abstract_Legacy_Product::get_related() Use wc_get_related_products instead.
251 WC_Abstract_Legacy_Product::get_related_terms() Use wc_get_product_term_ids instead.
265 WC_Abstract_Legacy_Product::build_related_query() Use Product Data Store get_related_products_query instead.
277 WC_Abstract_Legacy_Product::get_child() Use wc_get_product instead.
288 WC_Abstract_Legacy_Product::get_price_html_from_text()
301 WC_Abstract_Legacy_Product::get_price_html_from_to() Use wc_format_sale_price instead.
310 WC_Abstract_Legacy_Product::list_attributes() Use wc_display_product_attributes instead.
323 WC_Abstract_Legacy_Product::get_price_including_tax() Use wc_get_price_including_tax instead.
336 WC_Abstract_Legacy_Product::get_display_price() Use wc_get_price_to_display instead.
350 WC_Abstract_Legacy_Product::get_price_excluding_tax() Use wc_get_price_excluding_tax instead.
361 WC_Abstract_Legacy_Product::adjust_price()
375 WC_Abstract_Legacy_Product::get_categories()
389 WC_Abstract_Legacy_Product::get_tags()
400 WC_Abstract_Legacy_Product::get_post_data()
419 WC_Abstract_Legacy_Product::get_parent()
430 WC_Abstract_Legacy_Product::get_upsells()
441 WC_Abstract_Legacy_Product::get_cross_sells()
452 WC_Abstract_Legacy_Product::has_default_attributes()
466 WC_Abstract_Legacy_Product::get_variation_id()
477 WC_Abstract_Legacy_Product::get_variation_description()
488 WC_Abstract_Legacy_Product::has_all_attributes_set()
508 WC_Abstract_Legacy_Product::parent_is_visible()
519 WC_Abstract_Legacy_Product::get_total_stock()
545 WC_Abstract_Legacy_Product::get_formatted_variation_attributes()
557 WC_Abstract_Legacy_Product::variable_product_sync() not used in core.
624 WC_Abstract_Legacy_Product::get_matching_variation() in favour of Product data store's find_matching_product_variation.
635 WC_Abstract_Legacy_Product::enable_dimensions_display() Unused.
647 WC_Abstract_Legacy_Product::get_rating_html()
658 WC_Abstract_Legacy_Product::sync_average_rating()
673 WC_Abstract_Legacy_Product::sync_rating_count()
685 WC_Abstract_Legacy_Product::get_files()
693 WC_Abstract_Legacy_Product::grouped_product_sync() Sync is taken care of during save - no need to call this directly.

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
462 WC_REST_Products_V1_Controller::get_product_menu_order()
843 WC_REST_Products_V1_Controller::save_product_images()
1074 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
590 WC_REST_Products_V2_Controller::get_attribute_taxonomy_label()

class-wc-rest-system-status-v2-controller.php

Line Element Reason
810 WC_REST_System_Status_V2_Controller::get_item_mappings()
887 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

Line Element Reason
28 WC_Admin_Setup_Wizard_Tracking::init()
38 WC_Admin_Setup_Wizard_Tracking::get_current_step()
48 WC_Admin_Setup_Wizard_Tracking::add_footer_scripts()
57 WC_Admin_Setup_Wizard_Tracking::dequeue_non_allowed_scripts()
78 WC_Admin_Setup_Wizard_Tracking::track_start()
87 WC_Admin_Setup_Wizard_Tracking::track_ready_next_steps()
96 WC_Admin_Setup_Wizard_Tracking::add_step_save_events()
105 WC_Admin_Setup_Wizard_Tracking::track_store_setup()
114 WC_Admin_Setup_Wizard_Tracking::track_payments()
123 WC_Admin_Setup_Wizard_Tracking::track_shipping()
132 WC_Admin_Setup_Wizard_Tracking::track_recommended()
141 WC_Admin_Setup_Wizard_Tracking::track_jetpack_activate()
150 WC_Admin_Setup_Wizard_Tracking::track_next_steps()
159 WC_Admin_Setup_Wizard_Tracking::track_skip_step()
170 WC_Admin_Setup_Wizard_Tracking::set_obw_steps()

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-core-functions.php

Line Element Reason
871 wc_enqueue_js() Use wp_add_inline_script() instead.

wc-deprecated-functions.php

Line Element Reason
152 woocommerce_show_messages()
161 woocommerce_weekend_area_js()
169 woocommerce_tooltip_js()
177 woocommerce_datepicker_js()
185 woocommerce_admin_scripts()
193 woocommerce_create_page()
202 woocommerce_readfile_chunked()
215 woocommerce_format_total()
228 woocommerce_get_formatted_product_name()
251 get_product()
260 woocommerce_protected_product_add_to_cart()
269 woocommerce_empty_cart()
278 woocommerce_load_persistent_cart()
287 woocommerce_add_to_cart_message()
296 woocommerce_clear_cart_after_payment()
305 woocommerce_cart_totals_subtotal_html()
314 woocommerce_cart_totals_shipping_html()
323 woocommerce_cart_totals_coupon_html()
332 woocommerce_cart_totals_order_total_html()
341 woocommerce_cart_totals_fee_html()
350 woocommerce_cart_totals_shipping_method_label()
359 woocommerce_get_template_part()
368 woocommerce_get_template()
377 woocommerce_locate_template()
386 woocommerce_mail()
395 woocommerce_disable_admin_bar()
404 woocommerce_create_new_customer()
413 woocommerce_set_customer_auth_cookie()
422 woocommerce_update_new_customer_past_orders()
431 woocommerce_paying_customer()
440 woocommerce_customer_bought_product()
449 woocommerce_customer_has_capability()
458 woocommerce_sanitize_taxonomy_name()
467 woocommerce_get_filename_from_url()
476 woocommerce_get_dimension()
485 woocommerce_get_weight()
494 woocommerce_trim_zeros()
503 woocommerce_round_tax_total()
512 woocommerce_format_decimal()
521 woocommerce_clean()
530 woocommerce_array_overlay()
539 woocommerce_price()
548 woocommerce_let_to_num()
557 woocommerce_date_format()
566 woocommerce_time_format()
575 woocommerce_timezone_string()
585 woocommerce_rgb_from_hex()
596 woocommerce_hex_darker()
607 woocommerce_hex_lighter()
618 woocommerce_light_or_dark()
629 woocommerce_format_hex()
639 woocommerce_get_order_id_by_order_key()
648 woocommerce_downloadable_file_permission()
657 woocommerce_downloadable_product_permissions()
666 woocommerce_add_order_item()
675 woocommerce_delete_order_item()
684 woocommerce_update_order_item_meta()
693 woocommerce_add_order_item_meta()
702 woocommerce_delete_order_item_meta()
711 woocommerce_get_order_item_meta()
720 woocommerce_cancel_unpaid_orders()
729 woocommerce_processing_order_count()
738 woocommerce_get_page_id()
747 woocommerce_get_endpoint_url()
756 woocommerce_lostpassword_url()
765 woocommerce_customer_edit_account_url()
774 woocommerce_nav_menu_items()
783 woocommerce_nav_menu_item_classes()
792 woocommerce_list_pages()
801 woocommerce_product_dropdown_categories()
810 woocommerce_walk_category_dropdown_tree()
819 woocommerce_taxonomy_metadata_wpdbfix()
827 wc_taxonomy_metadata_wpdbfix()
835 woocommerce_order_terms()
844 woocommerce_set_term_order()
853 woocommerce_terms_clauses()
862 _woocommerce_term_recount()
871 woocommerce_recount_after_stock_change()
880 woocommerce_change_term_counts()
889 woocommerce_get_product_ids_on_sale()
898 woocommerce_get_featured_product_ids()
907 woocommerce_get_product_terms()
916 woocommerce_product_post_type_link()
925 woocommerce_placeholder_img_src()
934 woocommerce_placeholder_img()
943 woocommerce_get_formatted_variation()
952 woocommerce_scheduled_sales()
961 woocommerce_get_attachment_image_attributes()
970 woocommerce_prepare_attachment_for_js()
979 woocommerce_track_product_view()
988 woocommerce_compile_less_styles() has no replacement
998 woocommerce_calc_shipping_backwards_compatibility()
1012 woocommerce_get_product_schema()
1050 _wc_save_product_price()
1097 wc_get_customer_avatar_url()
1111 wc_get_core_supported_themes()
1124 wc_get_min_max_price_meta_query()
1152 wc_taxonomy_metadata_update_content_for_split_terms()
1169 update_woocommerce_term_meta()
1187 add_woocommerce_term_meta()
1205 delete_woocommerce_term_meta()
1222 get_woocommerce_term_meta()
1235 wc_register_default_log_handler()
1254 wc_get_log_file_path()
1289 wc_load_persistent_cart()
1323 woocommerce_product_subcategories() @todo Add a notice in a future version.
1367 wc_products_rss_feed()
1379 woocommerce_reset_loop()
1391 woocommerce_product_reviews_tab() Unused.
1410 get_woocommerce_api_url() The Legacy REST API has been removed from WooCommerce core.

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

Deferred.php

Line Element Reason
53 Deferred::create() TODO remove in next major version, use new Deferred() instead

SyncPromise.php

Line Element Reason
25 SyncPromise::runQueue() Use SyncPromiseQueue::run() instead
37 SyncPromise::getQueue() Use SyncPromiseQueue methods instead

GraphQL.php

Line Element Reason
191 GraphQL::getStandardDirectives() use {@see}
207 GraphQL::getStandardTypes() use {@see}
225 GraphQL::overrideStandardTypes() prefer per-schema scalar overrides via {@see} or {@see}

Directive.php

Line Element Reason
94 Directive::getInternalDirectives() use {@see}
176 Directive::isSpecifiedDirective() use {@see}

Type.php

Line Element Reason
177 Type::getStandardTypes() use {@see}
191 Type::overrideStandardTypes() prefer per-schema scalar overrides via {@see} or {@see}
35 Type::STANDARD_TYPE_NAMES use {@see}

Comment.php

Line Element Reason
54 Comment::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

AtRuleBlockList.php

Line Element Reason
56 AtRuleBlockList::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

CSSList.php

Line Element Reason
412 CSSList::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Document.php

Line Element Reason
61 Document::getAllSelectors() will be removed in version 9.0; use `getAllDeclarationBlocks()` instead
108 Document::expandShorthands() since 8.7.0, will be removed without substitution in version 9.0 in #511
122 Document::createShorthands() since 8.7.0, will be removed without substitution in version 9.0 in #511

KeyFrame.php

Line Element Reason
67 KeyFrame::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

OutputFormat.php

Line Element Reason
256 OutputFormat::get() since 8.8.0, will be removed in 9.0.0. Use specific getters instead.
276 OutputFormat::set() since 8.8.0, will be removed in 9.0.0. Use specific setters instead.
390 OutputFormat::level() #869 since version V8.8.0, will be removed in V9.0.0. Use `getIndentationLevel()` instead.

Parser.php

Line Element Reason
41 Parser::setCharset() since 8.7.0, will be removed in version 9.0.0 with #687
53 Parser::getCharset() since 8.7.0, will be removed in version 9.0.0 with #687

Positionable.php

Line Element Reason
24 Positionable::getLineNo() in version 8.9.0, will be removed in v9.0. Use `getLineNumber()` instead.
36 Positionable::getColNo() in version 8.9.0, will be removed in v9.0. Use `getColumnNumber()` instead.

Charset.php

Line Element Reason
77 Charset::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

CSSNamespace.php

Line Element Reason
57 CSSNamespace::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Import.php

Line Element Reason
71 Import::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Selector.php

Line Element Reason
127 Selector::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Renderable.php

Line Element Reason
12 Renderable::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Rule.php

Line Element Reason
181 Rule::setValues() will be removed in version 9.0 Old-Style 2-dimensional array given. Retained for (some) backwards-compatibility. Use `setValue()` instead and wrap the value inside a RuleValueList if necessary.
221 Rule::getValues() will be removed in version 9.0 Old-Style 2-dimensional array returned. Retained for (some) backwards-compatibility. Use `getValue()` instead and check for the existence of a (nested set of) ValueList object(s).
278 Rule::addIeHack() since V8.8.0, will be removed in V9.0
290 Rule::setIeHack() since V8.8.0, will be removed in V9.0
300 Rule::getIeHack() since V8.8.0, will be removed in V9.0
328 Rule::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

AtRuleSet.php

Line Element Reason
59 AtRuleSet::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

DeclarationBlock.php

Line Element Reason
156 DeclarationBlock::getSelector() will be removed in version 9.0; use `getSelectors()` instead
169 DeclarationBlock::setSelector() will be removed in version 9.0; use `setSelectors()` instead
189 DeclarationBlock::expandShorthands() since 8.7.0, will be removed without substitution in version 9.0 in #511
206 DeclarationBlock::createShorthands() since 8.7.0, will be removed without substitution in version 9.0 in #511
227 DeclarationBlock::expandBorderShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
290 DeclarationBlock::expandDimensionsShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
352 DeclarationBlock::expandFontShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
424 DeclarationBlock::expandBackgroundShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
498 DeclarationBlock::expandListStyleShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
583 DeclarationBlock::createShorthandProperties() since 8.7.0, will be removed without substitution in version 9.0 in #511
621 DeclarationBlock::createBackgroundShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
638 DeclarationBlock::createListStyleShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
657 DeclarationBlock::createBorderShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
676 DeclarationBlock::createDimensionsShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
752 DeclarationBlock::createFontShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
837 DeclarationBlock::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

RuleSet.php

Line Element Reason
293 RuleSet::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Color.php

Line Element Reason
161 Color::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

CSSFunction.php

Line Element Reason
94 CSSFunction::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

CSSString.php

Line Element Reason
100 CSSString::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

LineName.php

Line Element Reason
57 LineName::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Size.php

Line Element Reason
228 Size::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

URL.php

Line Element Reason
87 URL::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

ValueList.php

Line Element Reason
96 ValueList::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

class-email-api-controller.php

Line Element Reason
98 Email_Api_Controller::get_personalization_tags() Use get_personalization_tags_collection instead.

Comment.php

Line Element Reason
54 Comment::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

AtRuleBlockList.php

Line Element Reason
56 AtRuleBlockList::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

CSSList.php

Line Element Reason
412 CSSList::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Document.php

Line Element Reason
61 Document::getAllSelectors() will be removed in version 9.0; use `getAllDeclarationBlocks()` instead
108 Document::expandShorthands() since 8.7.0, will be removed without substitution in version 9.0 in #511
122 Document::createShorthands() since 8.7.0, will be removed without substitution in version 9.0 in #511

KeyFrame.php

Line Element Reason
67 KeyFrame::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

OutputFormat.php

Line Element Reason
256 OutputFormat::get() since 8.8.0, will be removed in 9.0.0. Use specific getters instead.
276 OutputFormat::set() since 8.8.0, will be removed in 9.0.0. Use specific setters instead.
390 OutputFormat::level() #869 since version V8.8.0, will be removed in V9.0.0. Use `getIndentationLevel()` instead.

Parser.php

Line Element Reason
41 Parser::setCharset() since 8.7.0, will be removed in version 9.0.0 with #687
53 Parser::getCharset() since 8.7.0, will be removed in version 9.0.0 with #687

Positionable.php

Line Element Reason
24 Positionable::getLineNo() in version 8.9.0, will be removed in v9.0. Use `getLineNumber()` instead.
36 Positionable::getColNo() in version 8.9.0, will be removed in v9.0. Use `getColumnNumber()` instead.

Charset.php

Line Element Reason
77 Charset::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

CSSNamespace.php

Line Element Reason
57 CSSNamespace::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Import.php

Line Element Reason
71 Import::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Selector.php

Line Element Reason
127 Selector::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Renderable.php

Line Element Reason
12 Renderable::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Rule.php

Line Element Reason
181 Rule::setValues() will be removed in version 9.0 Old-Style 2-dimensional array given. Retained for (some) backwards-compatibility. Use `setValue()` instead and wrap the value inside a RuleValueList if necessary.
221 Rule::getValues() will be removed in version 9.0 Old-Style 2-dimensional array returned. Retained for (some) backwards-compatibility. Use `getValue()` instead and check for the existence of a (nested set of) ValueList object(s).
278 Rule::addIeHack() since V8.8.0, will be removed in V9.0
290 Rule::setIeHack() since V8.8.0, will be removed in V9.0
300 Rule::getIeHack() since V8.8.0, will be removed in V9.0
328 Rule::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

AtRuleSet.php

Line Element Reason
59 AtRuleSet::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

DeclarationBlock.php

Line Element Reason
156 DeclarationBlock::getSelector() will be removed in version 9.0; use `getSelectors()` instead
169 DeclarationBlock::setSelector() will be removed in version 9.0; use `setSelectors()` instead
189 DeclarationBlock::expandShorthands() since 8.7.0, will be removed without substitution in version 9.0 in #511
206 DeclarationBlock::createShorthands() since 8.7.0, will be removed without substitution in version 9.0 in #511
227 DeclarationBlock::expandBorderShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
290 DeclarationBlock::expandDimensionsShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
352 DeclarationBlock::expandFontShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
424 DeclarationBlock::expandBackgroundShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
498 DeclarationBlock::expandListStyleShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
583 DeclarationBlock::createShorthandProperties() since 8.7.0, will be removed without substitution in version 9.0 in #511
621 DeclarationBlock::createBackgroundShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
638 DeclarationBlock::createListStyleShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
657 DeclarationBlock::createBorderShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
676 DeclarationBlock::createDimensionsShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
752 DeclarationBlock::createFontShorthand() since 8.7.0, will be removed without substitution in version 9.0 in #511
837 DeclarationBlock::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

RuleSet.php

Line Element Reason
293 RuleSet::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Color.php

Line Element Reason
161 Color::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

CSSFunction.php

Line Element Reason
94 CSSFunction::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

CSSString.php

Line Element Reason
100 CSSString::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

LineName.php

Line Element Reason
57 LineName::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

Size.php

Line Element Reason
228 Size::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

URL.php

Line Element Reason
87 URL::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

ValueList.php

Line Element Reason
96 ValueList::__toString() in V8.8.0, will be removed in V9.0.0. Use `render` instead.

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
245 Features::add_features_section() The WooCommerce Admin features are now handled by the WooCommerce features engine (see the FeaturesController class).
258 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
332 TaskList::get_sections()
452 TaskList::possibly_remove_reminder_bar() The reminder bar feature was removed; this method is now a no-op. Retained as a stub to avoid fatal errors in third-party code that references the method.
37 TaskList::REMINDER_BAR_HIDDEN_OPTION The reminder bar feature was removed; this option is no longer used. Retained as a stub to avoid fatal errors in third-party code that references the constant.
109 TaskList::$sections
118 TaskList::$task_class_id_map

TaskListSection.php

Line Element Reason
13 TaskListSection

Marketing.php

Line Element Reason
104 Marketing::get_plugins() Removed to improve performance.
118 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.

BlockRegistry.php

Line Element Reason
16 BlockRegistry Product editor extension APIs will be removed in WooCommerce 11.0.
302 BlockRegistry::register_block_type_from_metadata() Product editor extension APIs will be removed in WooCommerce 11.0.

BlockTemplateUtils.php

Line Element Reason
12 BlockTemplateUtils Product editor extension APIs will be removed in WooCommerce 11.0.

Init.php

Line Element Reason
25 Init Product editor extension APIs will be removed in WooCommerce 11.0.

ProductFormsController.php

Line Element Reason
13 ProductFormsController Product editor extension APIs will be removed in WooCommerce 11.0.

ProductTemplate.php

Line Element Reason
15 ProductTemplate Product editor extension APIs will be removed in WooCommerce 11.0.

GroupInterface.php

Line Element Reason
13 GroupInterface Product editor extension APIs will be removed in WooCommerce 11.0.

ProductFormTemplateInterface.php

Line Element Reason
13 ProductFormTemplateInterface Product editor extension APIs will be removed in WooCommerce 11.0.

SectionInterface.php

Line Element Reason
14 SectionInterface Product editor extension APIs will be removed in WooCommerce 11.0.
38 SectionInterface::add_section()

SubsectionInterface.php

Line Element Reason
13 SubsectionInterface Product editor extension APIs will be removed in WooCommerce 11.0.

RedirectionController.php

Line Element Reason
17 RedirectionController Product editor extension APIs will be removed in WooCommerce 11.0.

Tracks.php

Line Element Reason
13 Tracks Product editor extension APIs will be removed in WooCommerce 11.0.

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

Note.php

Line Element Reason
338 Note::get_layout() Inbox notes no longer support layout variants; only 'plain' is valid and the field will be removed in a future release.
351 Note::get_image() Inbox notes no longer render images; the field will be removed in a future release.
603 Note::set_layout() Inbox notes no longer support layout variants; only 'plain' is valid and the field will be removed in a future release.
631 Note::set_image() Inbox notes no longer render images; the field will be removed in a future release.

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
195 WCAdminHelper::is_store_page() Use is_current_page_store_page instead.

AbstractBlock.php

Line Element Reason
275 AbstractBlock::get_block_type() Use get_full_block_name() 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

CartCheckoutUtils.php

Line Element Reason
341 CartCheckoutUtils::is_overriden_by_custom_template_content() Use is_overridden_by_custom_template_content() instead.

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.