## Filter: wpd_ai_cost_price_support_woocommerce_native_cogs

Deprecated in 5.0.0. WooCommerce native COGS and common third-party plugin keys are now included by default in wpd_ai_default_product_cost_price_meta_keys. Use that filter to add, remove, or reorder meta keys instead.

### Migration

To disable WooCommerce native COGS (`_cogs_total_value`), remove it from the default meta keys array:

    add_filter( 'wpd_ai_default_product_cost_price_meta_keys', 'wpd_ai_remove_native_cogs_meta_key' );
    function wpd_ai_remove_native_cogs_meta_key( $meta_keys ) {
        return array_values( array_diff( $meta_keys, array( '_cogs_total_value' ) ) );
    }

### Related filters

- wpd_ai_default_product_cost_price_meta_keys – Default product meta keys for COGS fallback (replaces this filter)
- wpd_ai_cost_price_per_unit – Filter the final cost price value