Description

Shows the enrollemt system in a post or page.

Parameters

term

(string) The term you want to show. If it is not set, the plugins displays the courses of the current term.

date_format

(string) This parameter defines the format for dates. Default is d.m.Y. For possible values have a look to the documentation of PHP’s date funciton.

order_parent

(string) This parameter defines the order of courses in the first level. Default is type DESC, name.

order_child

(string) This parameter defines the order of courses in the second level (sub courses). Default is name.

Examples

Default:

[tpenrollments]

For changing the order of courses:

[tpenrollments order_parent="name DESC"]

Changelog

  • Since: 2.0.0
  • 3.1.2: Parameter „term“ added
  • 5.0.0: Parameter „date_format“ added
  • 5.0.17: Parameters „order_parent“ and „order_child“ added