Browse: Home / Classes / LearnDash_Permalinks /

LearnDash_Permalinks::comment_post

LearnDash_Permalinks::comment_post( int $comment_id,  int|string $comment_approved,  array $comment_data )

Add the course_id to comment meta


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 #

File: includes/class-ld-permalinks.php


Changelog #

Changelog
Version Description
2.5.5 Introduced.