Tag Archives: idc0e03d18efa5bd42103b7ee65a99bd44


Adds a new comment to the database.Filters new comment to ensure that the fields are sanitized and valid before inserting comment into database. Calls ‘comment_post’ action with comment ID and whether comment is approved by WordPress. Also has ‘preprocess_comment’ filter for processing the comment data before the function handles it.


Continue reading