define( 'LEARNDASH_DEFAULT_COURSE_PRICE_TYPE', string $value )
Define LearnDash LMS – Set the default course price type.
Contents
Description #
Parameters #
- $value
-
(string) (Required) Possible values one of the following.
- 'open'
(string) Price Type 'open'. - 'free'
(string) Price Type 'free'. Default. - 'paynow'
(string) Price Type 'paynow'. - 'subscribe'
(string) Price Type 'subscribe'. - 'closed'
(string) Price Type 'closed'.
- 'open'
Source #
Changelog #
Version | Description |
---|---|
4.9.0 | Default is 'free'. |
3.2.0 | Introduced. Default is 'open'. |