Automattic\WooCommerce\Blueprint
ImportSchema::create_from_file
Create an ImportSchema instance from a file.
Метод класса: ImportSchema{}
Хуков нет.
Возвращает
ImportSchema
. The created ImportSchema instance.
Использование
$result = ImportSchema::create_from_file( $file );
- $file(строка) (обязательный)
- The file path.
Код ImportSchema::create_from_file() ImportSchema::create from file WC 10.0.2
public static function create_from_file( $file ) { return self::create_from_json( $file ); }