learndash_30_focus_mode_can_complete( int|WP_Post|null $post = null, int|null $course_id = null )
Checks whether a post can be marked as complete or not in focus mode.
Description Description
Parameters Parameters
- $post
-
(Optional)
WP_Post
object or post ID. Default to global $post.Default value: null
- $course_id
-
(Optional) Course ID.
Default value: null
Return Return
(boolean) Whether a post can be marked as complete.
Source Source
File: themes/ld30/includes/helpers.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |