woocommerce_attribute_deleted, $id, $name, $taxonomy

woocommerce_attribute_deleted, $id, $name, $taxonomy

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_attribute_deleted, $id, $name, $taxonomy') is found 1 times:

  • /includes/wc-attribute-functions.php line 778
    		 * @param int    $id       Attribute ID.
    		 * @param string $name     Attribute name.
    		 * @param string $taxonomy Attribute taxonomy name.
    		 */
    		do_action( 'woocommerce_attribute_deleted', $id, $name, $taxonomy );
    		wp_schedule_single_event( time(), 'woocommerce_flush_rewrite_rules' );
    		delete_transient( 'wc_attribute_taxonomies' );
    		WC_Cache_Helper::invalidate_cache_group( 'woocommerce-attributes' );
    
    		return true;
    	}//end if