WC_Data_Store::load()
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() WC Data Store::load code WC 9.8.1
public static function load( $object_type ) { return new WC_Data_Store( $object_type ); }