woocommerce_admin_attribute_types action-hookWC 1.0

Deprecated from version 2.4.0. It is no longer supported and can be removed in future releases. It is recommended to replace this hook with the same one.

Deprecated action in favor of product_attributes_type_selector filter.

Usage

add_action( 'woocommerce_admin_attribute_types', 'wp_kama_woocommerce_admin_attribute_types_action' );

/**
 * Function for `woocommerce_admin_attribute_types` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_admin_attribute_types_action(){

	// action...
}

Changelog

Deprecated since 2.4.0

Where the hook is called

WC_Admin_Attributes::edit_attribute()
woocommerce_admin_attribute_types
WC_Admin_Attributes::add_attribute()
woocommerce_admin_attribute_types
woocommerce/includes/admin/class-wc-admin-attributes.php 257
do_action( 'woocommerce_admin_attribute_types' );
woocommerce/includes/admin/class-wc-admin-attributes.php 466
do_action( 'woocommerce_admin_attribute_types' );

Where the hook is used in WooCommerce

Usage not found.