LearnDash_Permalinks::comment_post( int $comment_id, int|string $comment_approved, array $commentdata )
Add the course_id to comment meta
Description Description
Parameters Parameters
- $comment_id
-
(Required) The comment ID.
- $comment_approved
-
(Required) Comment Approve Status, 1 if the comment is approved, 0 if not, 'spam' if spam.
- $commentdata
-
(Required) Comment data.
Source Source
File: includes/class-ld-permalinks.php
Changelog Changelog
| Version | Description |
|---|---|
| 2.5.5 | Introduced. |