llms_get_completable_post_types()

Retrieve an array of post types which can be completed by students


Return Return

(string[])


Top ↑

Source Source

File: includes/llms.functions.core.php

222
223
224
225
226
227
228
229
230
231
232
*/
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' ) );


Top ↑

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.