WooCommerce Code Reference

Markers

Table of Contents

woocommerce/includes/admin/class-wc-admin-notices.php 1
woocommerce/includes/admin/helper/class-wc-helper-api.php 1
woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php 1
woocommerce/includes/class-wc-shipping-rate.php 1
woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php 4
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php 1
woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-controller.php 1
woocommerce/includes/wc-template-functions.php 1
woocommerce/packages/woocommerce-admin/src/API/Plugins.php 1
woocommerce/packages/woocommerce-admin/src/API/Reports/Coupons/DataStore.php 1
woocommerce/packages/woocommerce-admin/src/Features/Onboarding.php 2
woocommerce/packages/woocommerce-admin/src/Loader.php 2
woocommerce/packages/woocommerce-admin/src/Notes/Note.php 1
woocommerce/packages/woocommerce-admin/src/Notes/WooCommercePayments.php 1
woocommerce/packages/woocommerce-admin/src/Overrides/OrderTraits.php 1
woocommerce/src/Proxies/ActionsProxy.php 1

class-wc-admin-notices.php

Type Line Description
TODO 324 remove in 4.0.0

class-wc-helper-api.php

Type Line Description
TODO 59 Check response signatures on certain endpoints.

class-wc-product-csv-importer-controller.php

Type Line Description
TODO 94 Replace this method with wc_is_file_valid_csv() function.

class-wc-shipping-rate.php

Type Line Description
TODO 150 4.0 Prevent negative value being set. #19293

class-wc-product-data-store-cpt.php

Type Line Description
TODO 1185 Add to interface in 4.0.
TODO 1515 Deprecate unused function?
TODO 1527 Deprecate unused function?
TODO 1538 Deprecate unused function?

class-wc-rest-setting-options-v2-controller.php

Type Line Description
TODO 431 remove in 4.0

class-wc-rest-controller.php

Type Line Description
TODO 532 Submit this caching behavior in core.

wc-template-functions.php

Type Line Description
TODO 3625 Deprecated this function after dropping support for WP 5.6.

Plugins.php

Type Line Description
TODO 192 This should be moved to a filter to make this API more generic and less plugin-specific.

DataStore.php

Type Line Description
TODO 466 Upon core merge, including this in core's `class-wc-coupon-data-store-cpt.php` might make more sense.

Onboarding.php

Type Line Description
TODO 969 Once URL params are added to the redirect, we can check those instead of the referer.
TODO 987 The `maybe_enable_setup_wizard()` method should be revamped on onboarding enable in core. See https://github.com/woocommerce/woocommerce/blob/1ca791f8f2325fe2ee0947b9c47e6a4627366374/includes/class-wc-install.php#L341

Loader.php

Type Line Description
TODO 311 The entry point for the embed needs moved to this class as well.
TODO 973 Can we do some URL rewriting so we can figure out which page they are on server side?

Note.php

Type Line Description
TODO 448 Set a default empty array? https://github.com/woocommerce/woocommerce-admin/pull/1763#pullrequestreview-212442921.

WooCommercePayments.php

Type Line Description
TODO 167 Need to validate this request more strictly since we're taking install actions directly?

OrderTraits.php

Type Line Description
TODO 48 If WC is currently not tax enabled, but it was before (or vice versa), would this work correctly?

ActionsProxy.php

Type Line Description
TODO 39 Add the rest of the actions and filters related methods.