woocommerce_attribute_added

woocommerce_attribute_added

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_attribute_added') is found 1 times:

  • /includes/wc-attribute-functions.php line 535
    		 *
    		 * @param int   $id   Added attribute ID.
    		 * @param array $data Attribute data.
    		 */
    		do_action( 'woocommerce_attribute_added', $id, $data );
    	} else {
    		$results = $wpdb->update(
    			$wpdb->prefix . 'woocommerce_attribute_taxonomies',
    			$data,
    			array( 'attribute_id' => $id ),
    			$format,
    

See this hook used in plugins: