The comment_karma
field in the wp_comments
table is something that has been in present in WordPress for a long time, but never utilized by the WordPress core itself.
You can update it the same way any other comment field is updated, using update_comment()
:
$comment_data = array();
$comment_data['comment_ID'] = 1;
$comment_data['comment_karma'] = 123;
wp_update_comment( $comment_data );
Related Posts:
- Why do I get comment spam even with Akismet and Captcha?
- What tools are available for managing/writing to WordPress? [closed]
- comment_post_ID 0 (cannot remove from dashboard)
- Using WordPress’ WYSIWYG for comments
- How to remove comment spam in WordPress
- How is comment spam received without a comments form?
- Does a reply to a wordpress comment notify the author of the comment?
- Link name in comments to Author page? Comment Author Meta in Comments?
- Showing comments only to same custom user role
- Post comment as different user than logged in
- Linking comments from registered users to their profile pages
- Can I change what fields are displayed in the Comments form?
- How to enable reply on most-deeply-nested comments?
- Top Commenters: exclude admin
- Comments to Custom Post Type
- Wrong gravatar showing up?
- Get Comments: Direct link to specific comment + post title
- How to make comment text field un-required?
- How to disable empty tags in comment_text()
- How can I show comments in random order?
- Is there any way to override “break comments into pages” and “close comments for old posts” on certain posts, but not on others?
- migrate comments from old database to new database
- Toggle nested comments
- Comments Pagination as an unordered list
- How to get comments from multiple post type?
- Check the Comment in Reply or Normal State
- Is it possible to make wp insert last comment onto another page
- How to allow only Admins or Logged In Users to post links in comments?
- wp_insert_comment error. puzzled by date value
- Private replies for comments
- Show last n comments
- Threaded commenting: how to show threads by last active first?
- edit_comment capability for subscriber
- Hold comments for moderation only if user is not logged in
- How to add attributes to the comment form tag?
- How to add replyToUrl schema.org to WordPress comments?
- How to return 404 when called edit-comments.php?
- Get comments from post and sort by commentmeta value
- Yoast makes comment_reply_link function output plain link to comment instead of reply link
- Problems with comments callback (Argument #1 is not an array?)
- Can WordPress comments have titles and taxonomy?
- Do I need to deal with WordPress SQL Injection
- Make WordPress process admin group comments using $allowedtags
- Can comments by a logged-in user be displayed at the top?
- Placed on + only date (not time)
- Loading Comments From a Class?
- comment reply by email
- Incorrect redirection after commenting on custom type
- have_comments not true for logged out visitors?
- How to limit comment indentations to one level?
- WordPress for questions and responses website
- Anonymize comments after one year
- How can get comment id from comment link?
- How to Add text to the start of all comment?
- How to get comments other than using wp_list_comments?
- How many members have made comments approved for an article?
- How to get a value from comment meta
- reCaptcha doesnt appear in comment (manual or plugin)
- Add a Comment on/off option in Screen Options for Comments?
- Comment System showing different type of IP
- Only Allow post author and “Premium” Role user to comment
- Exclude the word comment from being referenced
- How to open up comments to all visitors
- What is the earliest hook comment meta can be saved?
- Get Comment Author ID on the fly while posting
- Is this a wordpress bug? get_comment_link auto shoots when user visits his dashboard
- Comment as post – understanding wp_list_comments
- Comments and pingbacks issues
- Cannot unapprove a WordPress comment
- Crossposting from WP to Blogger with comments
- How to load new posts from wordpress db into wordpress homepage without refreshing the site?
- how show attachment image in comments query
- REST API : Get post title with comment
- Automatically register users with comments
- Comments only displaying when logged in
- Same comment section on every page
- Comment area visible but comments not being saved
- Force to show all fields in comment forms to the logged-in users
- Unable to view comments on my website
- Write html code in comments
- How to make comment reply available only for login members of a certain user roles only?
- Using WordPress core pop-up comment function, doesn’t popup, maybe an elementor issue
- How do i add comment fields in my page in WordPress
- twenty seventeen theme: comments UI not visible
- where can I find the missing comments in my wordpress dashboard?
- Comments editor not rendering   and tag
- How to call out the date of user’s first comment?
- Trying to get property of non-object notices in comment-template.php
- comment_moderation_subject is not working for me
- Disqus comments only show up on newest post
- How do you remove the ability for a user to make a comment or post on a page?
- wp_trash_post retrashes already trashed comments?
- How to maintain changes to comment-template.php
- Return comments_link() instead of echoing it
- just show the field comment by clicking button
- If paginated comments don’t span to a second page, how do I hide the div wrapper?
- wp_list_comments() only returns when user is loged in
- Numbering only parent comments
- Is there a way to implement a commenting system such as that on medium or sitepoint in WP?
- Remove “#comments” from comments pagination url