Automattic\WooCommerce\Internal\Admin
WCAdminAssets::__construct()
Constructor. Hooks added here should be removed in wc_admin_initialize via the feature plugin.
Method of the class: WCAdminAssets{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WCAdminAssets = new WCAdminAssets(); $WCAdminAssets->__construct();
WCAdminAssets::__construct() WCAdminAssets:: construct code WC 9.3.3
public function __construct() { Features::get_instance(); add_action( 'admin_enqueue_scripts', array( $this, 'register_scripts' ) ); add_action( 'admin_enqueue_scripts', array( $this, 'inject_wc_settings_dependencies' ), 14 ); add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_assets' ), 15 ); }