learndash_assignments_comments_open( boolean $open, int $post_id )
Handles whether the comments should be open for assignments.
Description Description
Fires on comments_open
hook.
Parameters Parameters
- $open
-
(Required) Whether the current post is open for comments.
- $post_id
-
(Required) The post ID.
Return Return
(boolean) True if the comments should be open otherwise false.
Source Source
File: includes/ld-assignment-uploads.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |