Sorry, being stupid, i was using $comment_id
, I needed $comment_ID
.
The wp_update_comment()
function still didn’t work though, if anyone can shed some light onto that.
Related Posts:
- Add option to disable comments on a per posts basis?
- comments reply script not working
- What should I do to make generated avatars different for anonymous comments?
- Check If comment author is registered
- How do I set up real anonymous posting in bbpress forums? [closed]
- How do I turn off wordpress comments ability to capture a users ip address?
- Success message in comment form
- How to allow the reply link to remain on the comment form after I have reached my 10 nested comment limit?
- Is there a hook for comment author link?
- How can I edit the email sent when a new comment is received?
- Exclude internal links from comment moderation?
- Change the HTML output of comments
- How to Block Access to Standard Login Flow and Comment Flow
- Upload images with comment
- Prevent Contributor to show comment list
- where to modify get_comment_author_link()?
- Change language of comments template
- Why Allow Script Commands in Comments?
- How to enable comments options?
- WordPress comment count to include attachment comments
- How to no follow the paginated comments
- Remove “Comments are closed” Notice from Custom Post Type template
- Displaying comments with a walker: how to distinguish between parent and child comments
- Count parent comments & replies separately?
- Comment count wrong with orphaned comments
- Comment form problem with comment_author_url and HTML5 input placeholders
- How would I count the number of times a comment meta field’s value is in a post’s entire comments?
- Pings and replies
- stackexchange-like submit comment window
- Comment_Reply_Link Not Showing?
- Display recent comments with gravatar and excerpts?
- Cannot get local avatars to show [closed]
- Limit user to one comment
- Display the number of unseen comments on a page since the user last visit
- Log in link not showing, Comment Issue
- WordPress comments on users profile
- wordpress threaded comments – customize nested ul / how child ul is displayd
- How to make a secure blog that is completely private?
- identify and delete spam comments from 3000 pending comments
- Hide comments column in WordPress backend
- How to moderate (manually approve) comments of a specific (registered) User
- How unrequire comment text in wordpress post
- Auto delete comment if Contains
- How to limit comment author to one comment per post
- API Hook for After Commenting (for sharing on Facebook)
- 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?
- Incorrect redirection after commenting on custom type
- have_comments not true for logged out visitors?
- 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
- Pending Comments
- 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
- 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
- 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
- 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?
- Comment forum to display under the comment you’re replying too
- Recent comments per tagged post?
- Subscribe to a post’s comments without posting a comment yourself
- WordPress error when sending comment
- How to hide the login / profile urls on top of comment box for a post
- wp_list_comments adds unnecessary elements
- Why default comment fields don’t show up?
- TinyMCE in comment reply form showing toolbar but can’t edit reply
- Add pending for reply comment in console WordPress