Browse: Home / Functions /


learndash_assignments_comments_open( boolean $open,  int $post_id )

Handles whether the comments should be open for assignments.

Description #

Fires on comments_open hook.

Parameters #


(boolean) (Required) Whether the current post is open for comments.


(int) (Required) The post ID.

Return #

(boolean) True if the comments should be open otherwise false.

Source #

File: includes/ld-assignment-uploads.php

Changelog #

Version Description
2.1.0 Introduced.