WC_Data_Store::load()public staticWC 3.0.0

Loads a data store.

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.

WC_Data_Store::load() code WC 8.7.0

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