Browse: Home / Classes / LearnDash_Permalinks /

LearnDash_Permalinks::comment_post

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

Add the course_id to comment meta


Description #


Parameters #

$comment_id

(int) (Required) The comment ID.

$comment_approved

(int|string) (Required) 1 if the comment is approved, 0 if not, 'spam' if spam.

$commentdata

(array) (Required) Comment data.


Source #

File: includes/class-ld-permalinks.php


Changelog #

Changelog
Version Description
2.5.5 Introduced.