create_wpage | R Documentation |
Create page in course
create_wpage(
course_id,
title,
body,
editing_roles = "teachers",
published = FALSE
)
course_id |
a valid course id |
title |
a string. The title for the new page. |
body |
a string The content for the new page. |
editing_roles |
a string. Which user roles are allowed to edit this page. Any combination of these roles is allowed (separated by commas). Allowed values: teachers, students, members, public |
published |
a boolean. Whether the page is published (true) or draft state (false). |
empty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.