Nutrition Info for WooCommerce

Changelog

1.0.0

  • Refactor: migrated to CLOSENutritionInfo namespace with Composer autoload (classmap).
  • New: Hooks class centralises all frontend hook registration.
  • New: Allergens class loads SVG icons from includes/assets/allergens/ — no more inline SVG in PHP.
  • New: vegan badge shown separately before the product thumbnail in the shop loop.
  • New: position setting supports “inside description tab” option that appends nutrition and ingredients to the existing tab content.
  • Improvement: nutritional table and ingredients rendered as accessible collapsible elements.
  • Improvement: allergen icons include a label shown on hover.
  • Fix: Composer autoload switched from PSR-4 to classmap to support WordPress class-*.php filename convention.
  • Removed: sass/ source folder (CSS is distributed as a compiled file).
  • Refactor: improved code structure, sanitization and escaping across all files.
  • New: PHPStan and PHP_CodeSniffer tooling added.
  • New: GitHub Actions workflow for linting and deployment.
  • Fix: variable sanitization and nonce verification on product meta save.

0.1.0

  • Initial release.

Plugin Website
Visit website

Version:
1.0.0
Last Updated
June 20, 2026
Active Installs
20
Requires
WordPress 5.8
Tested Up To
WordPress 6.7.5
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.