This constant has been deprecated. Use ‘LEARNDASH_SCRIPT_VERSION_TOKEN’ for asset versions and ‘LEARNDASH_VERSION’ for the plugin version instead.
define( 'LEARNDASH_WOOCOMMERCE_VERSION', string $value )
Define LearnDash LMS – WooCommerce Integration add-on version.
Contents
Description #
The value is the last version the add-on shipped as a standalone plugin. The bundled copy ships with LearnDash, so the number no longer tracks the code it versions.
Still defined so third-party code that checks it to detect the add-on keeps working.
Parameters #
- $value
-
(string) (Required) Default is
2.0.3.
Source #
Changelog #
| Version | Description |
|---|---|
| 5.2.0 | Introduced. Use 'LEARNDASH_SCRIPT_VERSION_TOKEN' for asset versions and 'LEARNDASH_VERSION' for the plugin version. |