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


Top ↑

Return Return

(boolean) Whether a post can be marked as complete.


Top ↑

Source Source

File: themes/ld30/includes/helpers.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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