woocommerce_after_product_attribute_settings action-hookWC 3.4.0

Hook to display custom attribute terms.

Usage

add_action( 'woocommerce_after_product_attribute_settings', 'wp_kama_woocommerce_after_product_attribute_settings_action', 10, 2 );

/**
 * Function for `woocommerce_after_product_attribute_settings` action-hook.
 * 
 * @param WC_Product_Attribute $attribute Attribute object.
 * @param number               $i         Attribute index.
 *
 * @return void
 */
function wp_kama_woocommerce_after_product_attribute_settings_action( $attribute, $i ){

	// action...
}
$attribute(WC_Product_Attribute)
Attribute object.
$i(number)
Attribute index.

Changelog

Since 3.4.0 Introduced.

Where the hook is called

In file: /includes/admin/meta-boxes/views/html-product-attribute-inner.php
woocommerce_after_product_attribute_settings
woocommerce/includes/admin/meta-boxes/views/html-product-attribute-inner.php 108
do_action( 'woocommerce_after_product_attribute_settings', $attribute, $i );

Where the hook is used in WooCommerce

Usage not found.