get_wpages_list | R Documentation |
Get data frame of pages in course
get_wpages_list(
course_id,
sort_type = c("title", "created_at", "updated_at")[1],
order_type = "asc",
search = NULL,
published = NULL
)
course_id |
a valid course id |
sort_type |
a string, Sort results by this field. Allowed values: 'title', 'created_at', and 'updated_at' |
order_type |
a string. The sorting order. Defaults to 'asc'. Allowed values: asc, desc |
search |
a string. The partial title of the pages to match and return. |
published |
a boolean. If true, include only published paqes. If false, exclude published pages. If not present, do not filter on published status. Defaults to not present. |
a data.frame with all pages from course.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.