WC_Data_Store::load
Loads a data store.
Method of the class: WC_Data_Store{}
No Hooks.
Returns
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 10.8.1
public static function load( $object_type ) {
return new WC_Data_Store( $object_type );
}