Class Sensei_Shortcode_Courses
Renders the [sensei_courses] shortcode
This class is loaded int WP by the shortcode loader class.
- Sensei_Shortcode_Courses implements Sensei_Shortcode_Interface
Package: Content\Shortcode
Author: Automattic
Since: 1.9.0
Class: Sensei_Shortcode_User_Courses
Located at includes/shortcodes/class-sensei-shortcode-courses.php
Author: Automattic
Since: 1.9.0
Class: Sensei_Shortcode_User_Courses
Located at includes/shortcodes/class-sensei-shortcode-courses.php
public
mixed
|
|
protected
|
|
public
string
|
protected
WP_Query
|
$query
to help setup the query needed by the render method. |
|
protected
string
|
$number
number of items to show on the current page Default: -1. |
|
protected
string
|
$orderby
ordery by course field Default: date |
|
protected
string
|
$order
ASC or DESC Default: 'DESC' |
|
protected
|
$category
can be completed or active or all |
|
protected
string
|
$teacher
teacher id to limit the courses to |
|
protected
string
|
$ids
csv of course ids to limit the search to |
|
protected
|
$exclude
courses by id |