llms_get_completable_post_types()
Retrieve an array of post types which can be completed by students
Return Return
(string[])
Source Source
File: includes/llms.functions.core.php
*/
function llms_get_completable_post_types() {
/**
* Filter the list of post types which can be completed by students.
*
* @since Unknown
*
* @param string[] $post_types WP_Post post type names.
*/
return apply_filters( 'llms_completable_post_types', array( 'course', 'section', 'lesson' ) );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.2.0 | Introduced. |