Browse: Home / Functions /


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 #

Parameters #


(int|WP_Post|null) (Optional) WP_Post object or post ID. Default to global $post.

Default value: null


(int|null) (Optional) Course ID.

Default value: null

Return #

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

Source #

File: themes/ld30/includes/helpers.php

Changelog #

Version Description
3.0.0 Introduced.