wc_get_container()

Returns the WooCommerce PSR11-compatible object container.


Description Description

Code in the includes directory should use the container to get instances of classes in the src directory.


Return Return

(PsrContainerContainerInterface) The WooCommerce PSR11 container.


Top ↑

Source Source

File: woocommerce.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.