WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru

admin_enqueue_scripts хук-событие . WC 2.8.0

Это хук WordPress, а не хук плагина. Плагин его просто использует.

Описание смотрите здесь: admin_enqueue_scripts.

Где вызывается хук

WC_Admin_Setup_Wizard::setup_wizard_header()
admin_enqueue_scripts
woocommerce/includes/admin/class-wc-admin-setup-wizard.php 347
<?php do_action( 'admin_enqueue_scripts' ); ?>

Где используется хук в ядре WooCommerce

woocommerce/includes/admin/class-wc-admin-assets.php 26
add_action( 'admin_enqueue_scripts', array( $this, 'admin_styles' ) );
woocommerce/includes/admin/class-wc-admin-assets.php 27
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
woocommerce/includes/admin/class-wc-admin-exporters.php 37
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
woocommerce/includes/admin/class-wc-admin-importers.php 35
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
woocommerce/includes/admin/class-wc-admin-pointers.php 22
add_action( 'admin_enqueue_scripts', array( $this, 'setup_pointers_for_screen' ) );
woocommerce/includes/admin/helper/class-wc-helper.php 46
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_enqueue_scripts' ) );
woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php 76
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
woocommerce/includes/theme-support/class-wc-twenty-twenty-one.php 34
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_admin_styles' ) );
woocommerce/packages/woocommerce-admin/src/Features/Coupons.php 59
add_action( 'admin_enqueue_scripts', array( $this, 'maybe_add_marketing_coupon_script' ) );
woocommerce/packages/woocommerce-admin/src/Features/Features.php 61
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'maybe_load_beta_features_modal' ) );
woocommerce/packages/woocommerce-admin/src/Features/Features.php 62
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'load_scripts' ), 15 );
woocommerce/packages/woocommerce-admin/src/Features/Navigation/Init.php 32
add_action( 'admin_enqueue_scripts', array( $this, 'maybe_enqueue_opt_out_scripts' ) );
woocommerce/packages/woocommerce-admin/src/Features/Navigation/Menu.php 101
add_filter( 'admin_enqueue_scripts', array( $this, 'enqueue_data' ), 20 );
woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/Init.php 50
add_action( 'admin_enqueue_scripts', array( $this, 'update_option_extended_task_list' ), 15 );
woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/Init.php 61
add_action( 'admin_enqueue_scripts', array( $this, 'add_media_scripts' ) );
woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/Init.php 69
add_action( 'admin_enqueue_scripts', array( $this, 'add_onboarding_product_notice_admin_script' ) );
woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/Init.php 70
add_action( 'admin_enqueue_scripts', array( $this, 'add_onboarding_homepage_notice_admin_script' ) );
woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/Init.php 71
add_action( 'admin_enqueue_scripts', array( $this, 'add_onboarding_tax_notice_admin_script' ) );
woocommerce/packages/woocommerce-admin/src/Features/OnboardingTasks/Init.php 72
add_action( 'admin_enqueue_scripts', array( $this, 'add_onboarding_product_import_notice_admin_script' ) );
woocommerce/packages/woocommerce-admin/src/Features/ShippingLabelBanner.php 102
add_action( 'admin_enqueue_scripts', array( $this, 'add_print_shipping_label_script' ) );
woocommerce/packages/woocommerce-admin/src/Loader.php 74
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'register_scripts' ) );
woocommerce/packages/woocommerce-admin/src/Loader.php 75
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'inject_wc_settings_dependencies' ), 14 );
woocommerce/packages/woocommerce-admin/src/Loader.php 76
add_action( 'admin_enqueue_scripts', array( $this, 'load_scripts' ), 15 );
woocommerce/packages/woocommerce-blocks/src/AssetsController.php 40
add_action( 'admin_enqueue_scripts', array( $this, 'update_block_style_dependencies' ), 20 );