LearnDash_Permalinks::comment_post( int $comment_id, int|string $comment_approved, array $comment_data )
Add the course_id to comment meta
Contents
Description #
Parameters #
- $comment_id
-
(int) (Required) The comment ID.
- $comment_approved
-
(int|string) (Required) Comment Approve Status, 1 if the comment is approved, 0 if not, 'spam' if spam.
- $comment_data
-
(array) (Required) Comment data.
Source #
Changelog #
Version | Description |
---|---|
2.5.5 | Introduced. |