Automattic\WooCommerce\Blocks\Templates
ClassicTemplatesCompatibility::__construct
Constructor.
Method of the class: ClassicTemplatesCompatibility{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ClassicTemplatesCompatibility = new ClassicTemplatesCompatibility(); $ClassicTemplatesCompatibility->__construct( $asset_data_registry );
- $asset_data_registry(AssetDataRegistry) (required)
- Instance of the asset data registry.
ClassicTemplatesCompatibility::__construct() ClassicTemplatesCompatibility:: construct code WC 10.9.4
public function __construct( AssetDataRegistry $asset_data_registry ) {
$this->asset_data_registry = $asset_data_registry;
$this->init();
}