admin_enqueue_scripts action-hookWC 1.0

This is a WordPress - admin_enqueue_scripts hook. The plugin just uses it.

Fires when enqueuing scripts for all admin pages.

Usage

add_action( 'admin_enqueue_scripts', 'wp_kama_admin_enqueue_scripts_action' );

/**
 * Function for `admin_enqueue_scripts` action-hook.
 * 
 * @param string $hook_suffix The current admin page.
 *
 * @return void
 */
function wp_kama_admin_enqueue_scripts_action( $hook_suffix ){

	// action...
}
$hook_suffix(string)
The current admin page.

Where the hook is called

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' ); ?>

Where the hook is used in WooCommerce

woocommerce/includes/admin/class-wc-admin-assets.php 29
add_action( 'admin_enqueue_scripts', array( $this, 'admin_styles' ) );
woocommerce/includes/admin/class-wc-admin-assets.php 30
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 25
add_action( 'admin_enqueue_scripts', array( $this, 'setup_pointers_for_screen' ) );
woocommerce/includes/admin/helper/class-wc-helper.php 47
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_enqueue_scripts' ) );
woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php 113
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/includes/tracks/events/class-wc-orders-tracking.php 36
add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_order_tracking_scripts' ) );
woocommerce/includes/tracks/events/class-wc-products-tracking.php 36
add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_product_tracking_scripts' ) );
woocommerce/includes/tracks/events/class-wc-products-tracking.php 37
add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_product_import_scripts' ) );
woocommerce/includes/tracks/events/class-wc-products-tracking.php 38
add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_attribute_tracking_scripts' ) );
woocommerce/includes/tracks/events/class-wc-products-tracking.php 39
add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_tag_tracking_scripts' ) );
woocommerce/includes/tracks/events/class-wc-settings-tracking.php 79
add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_settings_tracking_scripts' ) );
woocommerce/src/Admin/Features/AsyncProductEditorCategoryField/Init.php 25
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles' ) );
woocommerce/src/Admin/Features/AsyncProductEditorCategoryField/Init.php 26
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
woocommerce/src/Admin/Features/Features.php 63
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'maybe_load_beta_features_modal' ) );
woocommerce/src/Admin/Features/Features.php 64
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'load_scripts' ), 15 );
woocommerce/src/Admin/Features/Navigation/Init.php 39
add_action( 'admin_enqueue_scripts', array( $this, 'maybe_enqueue_opt_out_scripts' ) );
woocommerce/src/Admin/Features/Navigation/Menu.php 101
add_filter( 'admin_enqueue_scripts', array( $this, 'enqueue_data' ), 20 );
woocommerce/src/Admin/Features/NewProductManagementExperience.php 32
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles' ) );
woocommerce/src/Admin/Features/OnboardingTasks/Tasks/CustomizeStore.php 20
add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_site_editor_scripts' ) );
woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Products.php 22
add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_manual_return_notice_script' ) );
woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Products.php 23
add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_import_return_notice_script' ) );
woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Products.php 24
add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_load_sample_return_notice_script' ) );
woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Tax.php 29
add_action( 'admin_enqueue_scripts', array( $this, 'possibly_add_return_notice_script' ) );
woocommerce/src/Admin/Features/ProductBlockEditor/Init.php 60
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles' ) );
woocommerce/src/Admin/Features/ProductBlockEditor/Init.php 61
add_action( 'admin_enqueue_scripts', array( $this, 'dequeue_conflicting_styles' ), 100 );
woocommerce/src/Admin/Features/ProductBlockEditor/Init.php 65
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
woocommerce/src/Admin/PluginsHelper.php 66
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'maybe_enqueue_scripts_for_connect_notice' ) );
woocommerce/src/Admin/PluginsHelper.php 67
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'maybe_enqueue_scripts_for_subscription_notice' ) );
woocommerce/src/Admin/PluginsHelper.php 68
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'maybe_enqueue_scripts_for_notices_in_plugins' ) );
woocommerce/src/Blocks/AssetsController.php 40
add_action( 'admin_enqueue_scripts', array( $this, 'update_block_style_dependencies' ), 20 );
woocommerce/src/Blocks/AssetsController.php 42
add_action( 'admin_enqueue_scripts', array( $this, 'update_block_settings_dependencies' ), 100 );
woocommerce/src/Blocks/Shipping/ShippingController.php 67
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
woocommerce/src/Blocks/Shipping/ShippingController.php 68
add_action( 'admin_enqueue_scripts', array( $this, 'hydrate_client_settings' ) );
woocommerce/src/Internal/Admin/Coupons.php 56
add_action( 'admin_enqueue_scripts', array( $this, 'maybe_add_marketing_coupon_script' ) );
woocommerce/src/Internal/Admin/Marketplace.php 33
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
woocommerce/src/Internal/Admin/ProductReviews/Reviews.php 45
self::add_action( 'admin_enqueue_scripts', [ $this, 'load_javascript' ] );
woocommerce/src/Internal/Admin/ShippingLabelBanner.php 103
add_action( 'admin_enqueue_scripts', array( $this, 'add_print_shipping_label_script' ) );
woocommerce/src/Internal/Admin/Translations.php 38
add_action( 'admin_enqueue_scripts', array( $this, 'potentially_load_translation_script_file' ), 15 );
woocommerce/src/Internal/Admin/WCAdminAssets.php 49
add_action( 'admin_enqueue_scripts', array( $this, 'register_scripts' ) );
woocommerce/src/Internal/Admin/WCAdminAssets.php 51
add_action( 'admin_enqueue_scripts', array( $this, 'inject_wc_settings_dependencies' ), 14 );
woocommerce/src/Internal/Admin/WCAdminAssets.php 52
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_assets' ), 15 );
woocommerce/src/Internal/Admin/WCPayPromotion/Init.php 34
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'load_payment_method_promotions' ) );