WooCommerce
Packages
- Classes
- Abstracts
- Admin
- Helper
- Views
- Templates
- Reports
- Blocks
- RestApi
- CLI
- l10n
- Webhooks
- DataStores
- Emails
- Export
- Gateways
- PayPal
- Import
- Integrations
- Interfaces
- Interface
- LogHandlers
- PaymentTokens
- Utilities
- Shipping
- Shortcodes
- Tracks
- Traits
- Functions
- WCCom
- Widgets
- Uninstaller
Interfaces, Classes and Traits
- ArgumentResolverInterface
- ClassNameInterface
- RawArgumentInterface
- ContainerAwareInterface
- DefinitionAggregateInterface
- DefinitionInterface
- InflectorAggregateInterface
- InflectorInterface
- BootableServiceProviderInterface
- ServiceProviderAggregateInterface
- ServiceProviderInterface
- DataStoreInterface
- WooCommerce Reports data store interface.
- ExportableInterface
- WooCommerce Reports exportable controller interface.
- DateTimeProviderInterface
- DateTime Provider Interface.
- PluginsProviderInterface
- Plugins Provider Interface
- RuleProcessorInterface
- Rule processor interface
- ImportInterface
- WC_Notes_Refund_Returns
- WC_Notes_Refund_Returns.
- WC_Notes_Run_Db_Update
- WC_Notes_Run_Db_Update.
- WC_Meta_Data
- Meta data class.
- WooCommerce
- Main WooCommerce Class.
- WC_CLI_REST_Command
- Main Command for WooCommere CLI.
- WC_CLI_Runner
- WC API to WC CLI Bridge.
- WC_CLI_Tool_Command
- Hooks up our system status tools to the CLI.
- WC_CLI_Tracker_Command
- Allows access to tracker snapshot for transparency and debugging.
- WC_CLI_Update_Command
- Allows updates via CLI.
- WC_Customizer_Control_Cropping
- WC_Customizer_Control_Cropping class.
- WC_Shop_Customizer
- WC_Shop_Customizer class.
- ClassName
- ClassNameWithOptionalValue
- RawArgument
- Container
- Definition
- DefinitionAggregate
- ContainerException
- NotFoundException
- Inflector
- InflectorAggregate
- ReflectionContainer
- AbstractServiceProvider
- ServiceProviderAggregate
- Coupons
- Coupons controller.
- Customers
- Customers controller.
- Data
- Data controller.
- DataCountries
- REST API Data countries controller class.
- DataDownloadIPs
- Data Download IP controller.
- Features
- Features Controller.
- Init
- Init class.
- Leaderboards
- Leaderboards controller.
- Marketing
- Marketing Controller.
- MarketingOverview
- Marketing Overview Controller.
- NavigationFavorites
- REST API Favorites controller class.
- NoteActions
- REST API Admin Note Action controller class.
- Notes
- REST API Admin Notes controller class.
- OnboardingFreeExtensions
- Onboarding Payments Controller.
- OnboardingPayments
- Onboarding Payments Controller.
- OnboardingProductTypes
- Onboarding Product Types Controller.
- OnboardingProfile
- Onboarding Profile controller.
- OnboardingTasks
- Onboarding Tasks Controller.
- OnboardingThemes
- Onboarding Themes Controller.
- Options
- Options Controller.
- Orders
- Orders controller.
- Plugins
- Plugins Controller.
- ProductAttributes
- Product categories controller.
- ProductAttributeTerms
- Product attribute terms controller.
- ProductCategories
- Product categories controller.
- ProductReviews
- Product reviews controller.
- Products
- Products controller.
- ProductsLowInStock
- ProductsLowInStock controller.
- ProductVariations
- Product variations controller.
- Cache
- REST API Reports Cache class.
- Controller
- REST API Reports categories controller class.
- DataStore
- API\Reports\Categories\DataStore.
- Query
- API\Reports\Query
- Controller
- REST API Reports controller class.
- Controller
- REST API Reports coupons controller class.
- DataStore
- API\Reports\Coupons\DataStore.
- Query
- API\Reports\Coupons\Query
- Controller
- REST API Reports coupons stats controller class.
- DataStore
- API\Reports\Coupons\Stats\DataStore.
- Query
- API\Reports\Coupons\Stats\Query
- Segmenter
- Date & time interval and numeric range handling class for Reporting API.
- Controller
- REST API Reports customers controller class.
- DataStore
- Admin\API\Reports\Customers\DataStore.
- Query
- API\Reports\Customers\Query
- Controller
- REST API Reports customers stats controller class.
- DataStore
- API\Reports\Customers\Stats\DataStore.
- Query
- API\Reports\Customers\Stats\Query
- DataStore
- Admin\API\Reports\DataStore: Common parent for custom report data stores.
- Controller
- REST API Reports downloads controller class.
- DataStore
- API\Reports\Downloads\DataStore.
- Controller
- REST API Reports downloads files controller class.
- Query
- API\Reports\Downloads\Query
- Controller
- REST API Reports downloads stats controller class.
- DataStore
- API\Reports\Downloads\Stats\DataStore.
- Query
- API\Reports\Downloads\Stats\Query
- Controller
- Reports Export controller.
- Controller
- Reports Imports controller.
- Controller
- REST API Reports orders controller class.
- DataStore
- API\Reports\Orders\DataStore.
- Query
- API\Reports\Orders\Query
- Controller
- REST API Reports orders stats controller class.
- DataStore
- API\Reports\Orders\Stats\DataStore.
- Query
- API\Reports\Orders\Stats\Query
- Segmenter
- Date & time interval and numeric range handling class for Reporting API.
- ParameterException
- API\Reports\ParameterException class.
- Controller
- REST API Reports Performance indicators controller class.
- Controller
- REST API Reports products controller class.
- DataStore
- API\Reports\Products\DataStore.
- Query
- API\Reports\Products\Query
- Controller
- REST API Reports products stats controller class.
- DataStore
- API\Reports\Products\Stats\DataStore.
- Query
- API\Reports\Products\Stats\Query
- Segmenter
- Date & time interval and numeric range handling class for Reporting API.
- Query
- Admin\API\Reports\Query
- Query
- API\Reports\Revenue\Query
- Controller
- REST API Reports revenue stats controller class.
- Segmenter
- Date & time interval and numeric range handling class for Reporting API.
- SqlQuery
- Admin\API\Reports\SqlQuery: Common parent for manipulating SQL query clauses.
- Controller
- REST API Reports stock controller class.
- Controller
- REST API Reports stock stats controller class.
- DataStore
- API\Reports\Stock\Stats\DataStore.
- Query
- API\Reports\Stock\Stats\Query
- Controller
- REST API Reports taxes controller class.
- DataStore
- API\Reports\Taxes\DataStore.
- Query
- API\Reports\Taxes\Query
- Controller
- REST API Reports taxes stats controller class.
- DataStore
- API\Reports\Taxes\Stats\DataStore.
- Query
- API\Reports\Taxes\Stats\Query
- Segmenter
- Date & time interval and numeric range handling class for Reporting API.
- TimeInterval
- Date & time interval and numeric range handling class for Reporting API.
- Controller
- REST API Reports products controller class.
- DataStore
- API\Reports\Variations\DataStore.
- Query
- API\Reports\Variations\Query
- Controller
- REST API Reports variations stats controller class.
- DataStore
- API\Reports\Variations\Stats\DataStore.
- Query
- API\Reports\Variations\Stats\Query
- Segmenter
- Date & time interval and numeric range handling class for Reporting API.
- SettingOptions
- Setting Options controller.
- Taxes
- Taxes controller.
- Themes
- Themes controller.
- Package
- Main package class.
- DataSourcePoller
- Specs data source poller class.
- CurrentDateTimeProvider
- Current DateTime Provider.
- DeprecatedClassFacade
- A facade to allow deprecating an entire class.
- Features
- Features Class.
- Onboarding
- Contains backend logic for the onboarding profile and checklist feature.
- DeprecatedExtendedTask
- DeprecatedExtendedTask class.
- DeprecatedOptions
- DeprecatedOptions class.
- Init
- Contains the logic for completing onboarding tasks.
- Task
- Task class.
- TaskList
- Task List class.
- TaskLists
- Task Lists class.
- AdditionalPayments
- Payments Task
- Appearance
- Appearance Task
- Marketing
- Marketing Task
- Payments
- Payments Task
- Products
- Products Task
- Purchase
- Purchase Task
- Shipping
- Shipping Task
- StoreDetails
- Store Details Task
- Tax
- Tax Task
- WooCommercePayments
- WooCommercePayments Task
- DefaultPaymentGateways
- Default Payment Gateways
- EvaluateSuggestion
- Evaluates the spec and returns the evaluated suggestion.
- Init
- Remote Payment Methods engine.
- PaymentGatewaysController
- PaymentGateway class
- PaymentGatewaySuggestionsDataSourcePoller
- Specs data source poller class for payment gateway suggestions.
- TransientNotices
- Shows print shipping label banner on edit order page.
- Loader
- Loader Class.
- InstalledExtensions
- Installed Marketing Extensions class.
- AddFirstProduct
- Add_First_Product.
- ChoosingTheme
- Giving_Feedback_Notes
- CompleteStoreDetails
- Adds a note when the profiler was skipped.
- CouponPageMoved
- Coupon_Page_Moved class.
- DataStore
- WC Admin Note Data Store (Custom Tables)
- DeactivatePlugin
- Deactivate_Plugin.
- WC_Admin_Note
- WC_Admin_Note.
- WC_Admin_Notes
- WC_Admin_Notes.
- WC_Admin_Notes_Coupon_Page_Moved
- WC_Admin_Notes_Coupon_Page_Moved.
- WC_Admin_Notes_Customize_Store_With_Blocks
- WC_Admin_Notes_Customize_Store_With_Blocks.
- WC_Admin_Notes_Deactivate_Plugin
- WC_Admin_Notes_Deactivate_Plugin.
- WC_Admin_Notes_Edit_Products_On_The_Move
- WC_Admin_Notes_Edit_Products_On_The_Move.
- WC_Admin_Notes_EU_VAT_Number
- WC_Admin_Notes_EU_VAT_Number.
- WC_Admin_Notes_Facebook_Marketing_Expert
- WC_Admin_Notes_Facebook_Marketing_Expert.
- WC_Admin_Notes_First_Product
- WC_Admin_Notes_First_Product.
- WC_Admin_Notes_Giving_Feedback_Notes
- WC_Admin_Notes_Giving_Feedback_Notes.
- WC_Admin_Notes_Insight_First_Sale
- WC_Admin_Notes_Insight_First_Sale.
- WC_Admin_Notes_Install_JP_And_WCS_Plugins
- WC_Admin_Notes_Install_JP_And_WCS_Plugins.
- WC_Admin_Notes_Launch_Checklist
- WC_Admin_Notes_Launch_Checklist.
- WC_Admin_Notes_Migrate_From_Shopify
- WC_Admin_Notes_Migrate_From_Shopify.
- WC_Admin_Notes_Mobile_App
- WC_Admin_Notes_Mobile_App.
- WC_Admin_Notes_New_Sales_Record
- WC_Admin_Notes_New_Sales_Record.
- WC_Admin_Notes_Onboarding_Email_Marketing
- WC_Admin_Notes_Onboarding_Email_Marketing.
- WC_Admin_Notes_Onboarding_Payments
- WC_Admin_Notes_Onboarding_Payments.
- WC_Admin_Notes_Online_Clothing_Store
- WC_Admin_Notes_Online_Clothing_Store.
- WC_Admin_Notes_Order_Milestones
- WC_Admin_Notes_Order_Milestones.
- WC_Admin_Notes_Performance_On_Mobile
- WC_Admin_Notes_Performance_On_Mobile.
- WC_Admin_Notes_Personalize_Store
- WC_Admin_Notes_Personalize_Store.
- WC_Admin_Notes_Real_Time_Order_Alerts
- WC_Admin_Notes_Real_Time_Order_Alerts.
- WC_Admin_Notes_Selling_Online_Courses
- WC_Admin_Notes_Selling_Online_Courses.
- WC_Admin_Notes_Set_Up_Additional_Payment_Types
- WC_Admin_Notes_Set_Up_Additional_Payment_Types.
- WC_Admin_Notes_Test_Checkout
- WC_Admin_Notes_Test_Checkout.
- WC_Admin_Notes_Tracking_Opt_In
- WC_Admin_Notes_Tracking_Opt_In.
- WC_Admin_Notes_Woo_Subscriptions_Notes
- WC_Admin_Notes_Woo_Subscriptions_Notes.
- WC_Admin_Notes_WooCommerce_Payments
- WC_Admin_Notes_WooCommerce_Payments.
- WC_Admin_Notes_WooCommerce_Subscriptions
- WC_Admin_Notes_WooCommerce_Subscriptions.
- EditProductsOnTheMove
- Edit_Products_On_The_Move
- EmailNotification
- EmailNotification Class.
- EUVATNumber
- EU_VAT_Number
- FirstDownlaodableProduct
- FirstDownlaodableProduct.
- FirstProduct
- First_Product.
- GivingFeedbackNotes
- Giving_Feedback_Notes
- InstallJPAndWCSPlugins
- Install_JP_And_WCS_Plugins
- LaunchChecklist
- Launch_Checklist
- MagentoMigration
- MagentoMigration
- ManageOrdersOnTheGo
- Manage_Orders_On_The_Go
- ManageStoreActivityFromHomeScreen
- New! Manage your store activity from the Home screen.
- MarketingJetpack
- Suggest Jetpack Backup to Woo users.
- MigrateFromShopify
- Migrate_From_Shopify.
- MobileApp
- Mobile_App
- NavigationNudge
- Navigation Nudge.
- NewSalesRecord
- New_Sales_Record
- Note
- Note class.
- Notes
- Admin Notes class.
- NotesUnavailableException
- Notes\NotesUnavailableException class.
- OnboardingPayments
- Onboarding_Payments.
- OnlineClothingStore
- Online_Clothing_Store.
- OrderMilestones
- Order_Milestones
- PaymentsRemindMeLater
- PaymentsRemindMeLater
- PerformanceOnMobile
- Performance_On_Mobile
- PersonalizeStore
- Personalize_Store
- RealTimeOrderAlerts
- Real_Time_Order_Alerts
- SellingOnlineCourses
- Selling_Online_Courses
- TrackingOptIn
- Tracking_Opt_In
- UnsecuredReportFiles
- Unsecured_Report_Files
- UpdateStoreDetails
- Adds a note when the profiler is completed.
- WelcomeToWooCommerceForStoreUsers
- Welcome to WooCommerce for store users.
- WooCommercePayments
- WooCommerce_Payments
- WooCommerceSubscriptions
- WooCommerce_Subscriptions.
- WooSubscriptionsNotes
- Woo_Subscriptions_Notes
- Order
- WC_Order subclass.
- OrderRefund
- WC_Order_Refund subclass.
- ThemeUpgrader
- Admin\Overrides\ThemeUpgrader Class.
- ThemeUpgraderSkin
- Admin\Overrides\ThemeUpgraderSkin Class.
- PageController
- PageController
- PaymentMethodSuggestionsDataSourcePoller
- Specs data source poller class for payment gateway suggestions.
- PluginsHelper
- Class PluginsHelper
- PluginsInstaller
- Class PluginsInstaller
- PluginsProvider
- Plugins Provider.
- BaseLocationCountryRuleProcessor
- Rule processor that performs a comparison operation against the base location - country.
- BaseLocationStateRuleProcessor
- Rule processor that performs a comparison operation against the base location - state.
- ComparisonOperation
- Compare two operands using the specified operation.
- DataSourcePoller
- Specs data source poller class.
- EvaluateAndGetStatus
- Evaluates the spec and returns a status.
- FailRuleProcessor
- Rule processor that fails.
- GetRuleProcessor
- Class encapsulating getting the processor for a given rule type.
- NoteStatusRuleProcessor
- Rule processor that compares against the status of another note.
- NotRuleProcessor
- Rule processor that negates the rules in the rule's operand.
- OnboardingProfileRuleProcessor
- Rule processor that performs a comparison operation against a value in the onboarding profile.
- OptionRuleProcessor
- Rule processor that performs a comparison operation against an option value.
- OrderCountRuleProcessor
- Rule processor for publishing based on the number of orders.
- OrdersProvider
- Provider for order-related queries and operations.
- OrRuleProcessor
- Rule processor that performs an OR operation on the rule's left and right operands.
- PassRuleProcessor
- Rule processor that passes.
- PluginsActivatedRuleProcessor
- Rule processor for sending when the provided plugins are activated.
- PluginVersionRuleProcessor
- Rule processor for sending when the provided plugin is activated and matches the specified version.
- ProductCountRuleProcessor
- Rule processor that performs a comparison operation against the number of products.
- PublishAfterTimeRuleProcessor
- Rule processor for sending after a specified date/time.
- PublishBeforeTimeRuleProcessor
- Rule processor for sending before a specified date/time.
- RemoteInboxNotificationsEngine
- Remote Inbox Notifications engine.
- RuleEvaluator
- Evaluate the given rules as an AND operation - return false early if a rule evaluates to false.
- SpecRunner
- Runs a single spec.
- StoredStateRuleProcessor
- Rule processor that performs a comparison operation against a value in the stored state object.
- StoredStateSetupForProducts
- Handles stored state setup for products.
- WCAdminActiveForProvider
- WCAdminActiveForProvider class
- WCAdminActiveForRuleProcessor
- Rule processor for publishing if wc-admin has been active for at least the given number of seconds.
- WooCommerceAdminUpdatedRuleProcessor
- Rule processor for sending when WooCommerce Admin has been updated.
- ReportCSVEmail
- ReportCSVEmail Class.
- ReportCSVExporter
- ReportCSVExporter Class.
- ReportExporter
- ReportExporter Class.
- ReportsSync
- ReportsSync Class.
- WCAdminHelper
- Class WCAdminHelper
- ActivityPanels
- Contains backend logic for the activity panel feature.
- Analytics
- Contains backend logic for the Analytics feature.
- CategoryLookup
- \Automattic\WooCommerce\Internal\Admin\CategoryLookup class.
- Coupons
- Contains backend logic for the Coupons feature.
- Events
- Events Class.
- Homescreen
- Contains backend logic for the homescreen feature.
- Install
- Install Class.
- Marketing
- Contains backend logic for the Marketing feature.
- MobileAppBanner
- Determine if the mobile app banner shows on Android devices
- MerchantEmailNotifications
- Merchant email notifications.
- DefaultFreeExtensions
- Default Free Extensions
- EvaluateExtension
- Evaluates the extension and returns it.
- Init
- Remote Payment Methods engine.
- RemoteFreeExtensionsDataSourcePoller
- Specs data source poller class for remote free extensions.
- RemoteInboxNotifications
- Remote Inbox Notifications feature logic.
- CustomersScheduler
- CustomersScheduler Class.
- ImportScheduler
- ImportScheduler class.
- OrdersScheduler
- OrdersScheduler Class.
- Settings
- Contains backend logic for the Settings feature.
- ShippingLabelBanner
- Shows print shipping label banner on edit order page.
- ShippingLabelBannerDisplayRules
- Determines whether or not the Shipping Label Banner should be displayed
- Survey
- Survey Class.
- WCAdminSharedSettings
- \Automattic\WooCommerce\Internal\Admin\WCAdminSharedSettings class.
- Init
- WC Pay Promotion engine.
- WCPayPromotionDataSourcePoller
- Specs data source poller class for WooCommerce Payment Promotion.
- Autoloader
- Autoloader class.
- ReserveStock
- Stock Reservation class.
- ReserveStockException
- ReserveStockException class.
- Container
- PSR11 compliant dependency injection container for WooCommerce.
- Packages
- Packages class.
- ActionsProxy
- Proxy for interacting with WordPress actions and filters.
- LegacyProxy
- Proxy class to access legacy WooCommerce functionality.
- ArrayUtil
- A class of utilities for dealing with arrays.
- DatabaseUtil
- A class of utilities for dealing with the database.
- NumberUtil
- A class of utilities for dealing with numbers.
- StringUtil
- A class of utilities for dealing with strings.
- ArgumentResolverTrait
- ContainerAwareTrait
- CustomAttributeTraits
- CustomAttributeTraits class.
- ExportableTraits
- ExportableTraits class.
- TaskTraits
- TaskTraits class.
- NoteTraits
- NoteTraits class.
- OnboardingTraits
- OnboardingTraits class, encapsulates onboarding checks and functionality that are useful to determining whether to display notes or not.
- OrderTraits
- OrderTraits class.
- SchedulerTraits
- SchedulerTraits class.
- CouponsMovedTrait
- CouponsMovedTrait trait.
Table of Contents
- wc_admin_get_feature_config() : mixed
- WC() : WooCommerce
- Returns the main instance of WC.
- wc_get_container() : ContainerInterface
- Returns the WooCommerce PSR11-compatible object container.
Functions
wc_admin_get_feature_config()
wc_admin_get_feature_config() : mixed
WC()
Returns the main instance of WC.
WC() : WooCommerce
Tags
wc_get_container()
Returns the WooCommerce PSR11-compatible object container.
wc_get_container() : ContainerInterface
Code in the includes
directory should use the container to get instances of classes in the src
directory.