Add or modify WooCommerce backend PHP code following project conventions. Use when creating new classes, methods, hooks, or modifying existing backend code in WooCommerce projects.
This skill provides guidance for developing WooCommerce backend PHP code according to project standards and conventions.
Follow WooCommerce project conventions when adding or modifying backend PHP code:
src/Internal/ by defaultAutomattic\WooCommerce namespaceTo determine the next WooCommerce version number for @since annotations:
$version property in includes/class-woocommerce.php on the trunk branch-dev suffix if present10.4.0-dev, use @since 10.4.0