woocommerce_after_add_attribute_fields
The WooCommerce woocommerce after add attribute fields hook.
Description
do_action( 'woocommerce_after_add_attribute_fields' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'woocommerce_after_add_attribute_fields' );
- The following example is for adding a hook callback.
- // define the woocommerce_after_add_attribute_fields callback
- function action_woocommerce_after_add_attribute_fields( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'woocommerce_after_add_attribute_fields', 'action_woocommerce_after_add_attribute_fields', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'woocommerce_after_add_attribute_fields', 'action_woocommerce_after_add_attribute_fields', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /includes/admin/class-wc-admin-attributes.php
- <?php do_action( 'woocommerce_after_add_attribute_fields' ) ?>