Automattic\WooCommerce\Blocks\Templates
ClassicTemplatesCompatibility::__construct()
Constructor.
Method of the class: ClassicTemplatesCompatibility{}
No Hooks.
Return
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 9.8.2
public function __construct( AssetDataRegistry $asset_data_registry ) { $this->asset_data_registry = $asset_data_registry; $this->init(); }