Browse: Home / Constants /

LEARNDASH_WOOCOMMERCE_VERSION

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.


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 #

File: includes/woocommerce/learndash_woocommerce.php


Changelog #

Changelog
Version Description
5.2.0 Introduced. Use 'LEARNDASH_SCRIPT_VERSION_TOKEN' for asset versions and 'LEARNDASH_VERSION' for the plugin version.