Browse: Home / Constants /

LEARNDASH_DEFAULT_COURSE_PRICE_TYPE

define( 'LEARNDASH_DEFAULT_COURSE_PRICE_TYPE',  string $value )

Define LearnDash LMS – Set the default course price type.


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'.


Source #

File: learndash-scalar-constants.php


Changelog #

Changelog
Version Description
4.9.0 Default is 'free'.
3.2.0 Introduced. Default is 'open'.