WordPress at Your Fingertips
function is not described

WC_Data_Store::load() public WC 3.0.0

Loads a data store.

{} It's a method of the class: WC_Data_Store{}

No Hooks.

Return

WC_Data_Store.

Usage

$result = WC_Data_Store::load( $object_type );
$object_type(string) (required)
Name of object.

Changelog

Since 3.0.0 Introduced.

Code of WC_Data_Store::load() WC 5.8.0

public static function load( $object_type ) {
	return new WC_Data_Store( $object_type );
}