fix: Syntax error in ProductsController - fix broken docblock

Fixed duplicate code and broken docblock comment that was causing PHP syntax error.
The multi_edit tool had issues with the large edit and left broken code.
This commit is contained in:
Dwindi Ramadhana
2025-12-27 00:17:19 +07:00
parent 8f61e39272
commit 70afb233cf

View File

@@ -918,13 +918,6 @@ class ProductsController {
continue;
}
// Private meta (starts with _) - check if allowed
// Core has ZERO defaults - plugins register via filter
$allowed_private = apply_filters('woonoow/product_allowed_private_meta', [], $product);
if (in_array($key, $allowed_private, true)) {
$meta_data[$key] = $value;
}
}
return $meta_data;