That is actually dead simple. Cookies are set by wp_set_comment_cookies()
and this function is hooked into 'set_comment_cookies'
. Just remove the function from the action:
<?php # -*- coding: utf-8 -*-
/* Plugin Name: No Comment Cookies
*/
remove_action( 'set_comment_cookies', 'wp_set_comment_cookies' );
Related Posts:
- How to export comments in WordPress?
- Is there a plugin for posting inline comments, like in MS Word? [closed]
- Keep one user logged for a year?
- Facebook comments box on front page
- Installing Facebook comment plug in without loosing all previous wordpress comments?
- Security error WP 4.0 + WP phpBB Bridge [closed]
- Custom comment type maybe?
- Detecting $_GET parameters from any page + Cookie
- Intercept comment form submit/list by hook/filter
- adding a text message beside the comment submit button
- Plugin: How should I handle deleting comments?
- Akismet plugin is deleting spam despite preferences
- Plugin Functionality Only for Editor and Administrator
- Set cookie then immediantly refresh the page
- Popup Cookie WordPress select language and section (Elementor)
- Leveraging WordPress Comments on Custom Plugin Object page
- Get total number of comment of the posts written by an author
- Function to prevent users from trashing comments
- add_filter comment_edit_redirect not working
- How do you override the default comment template?
- Do We Need to Validate, Sanitize, or Filter Simple Numerical Superglobals (Cookies and Post)?
- How to change commenter links to /user/user_id?
- Facebook plugin shows existing comments
- unregistered user can write in blog page – possible? how to?
- How can I get WordPress to save comments in markdown format?
- How to delete Passwrd Protected posts cookies when a user logged out from the site
- Creating a plugin to sanitize comment and the url field before display only
- How to save generated JWT token to cookies on login?
- WordPress comments not appearing in blog posts, likely because of Redux template. Could I fix this with a plugin that adds a comment form as a block? [closed]
- WordPress Keeps Logging Out – What Tests Can I Run to Solve This?
- User Session and Stored Cookies not get removed
- Where does the cookie mo_page_views_counter come from?
- posts comments goes to trash
- Comment section not showing correctly
- Disqus deleted comments are syncing with wordpress but active comments do not
- Include comments form in plugin page
- WordPress 4.2.1 pre_get_comments doesn’t work after update
- How to handle cookies from a WordPress plugin on a cached page?
- Login cookies set as wrong domain
- Integrate Facebook comments with native comments
- Post Comments with Ajax in WordPress
- Notify comment author upon reply
- add_action in a custom plugin
- Custom setup of wordpress comments that are displayed
- Is there a specific term for Plugins that are specified in a WordPress Post using Comments?
- Add back to post link on blank comment post error page
- Flag Comment as inappropriate button plugin
- Help with comments.php
- Some WordPress Posts are automatically becoming comments on other Posts
- Comment IP Plugin – Fixing onfocus=’this.select()’
- get_comments_number() giving wrong results! What are alternatives?
- Displaying content based on drop-down menu selection sitewide
- Moving FB comments at the end of page
- Blurry images when loading the page first time
- Comment Approve – Add custom function when comment is approved
- Individual Comment Notification Setting For Post Author
- How to save comment name email url fields?
- Add a Custom Field in Comment Box next to the Text area
- Error: Can´t access facebook comment plugin admin page
- Separate jQuery for Individual Comments?
- Pull comments from one page/post into another page/post?
- Engadget Like most commented plugins
- Does anyone know what’s the plugin for this Comment Section?
- Display WordPress comments before the plugins?
- Cookies set by a plugin in wordpress for tracking
- Codeless random token generation to pass into multiple tracking links in a single page load
- Oops! That page can’t be found
- Identify User Language, Redirect to the corresponding page and Save the chosen language as Cookie
- Enable comments pagination only amp page
- Cookie value changes back to previous value after changing
- Display value of the GET parameter in a new URL page
- Block Google tracking on refuse consent of the user with plugin
- How to remove WordPress Default Comment? not Facebook
- WordPress Admin login redirect to homepage
- Disqus comment system not show
- How is it possible to create Multi part sections where people can answer or comment or vote on various parts of a page’s content as given example?
- How can I store user preferences in WordPress and retreive them later?
- WordPress delete cookie
- How to fix slow comment query?
- Why does WordPress use cookies for /wp-admin and /wp-content/plugins for non-admin users [duplicate]
- Implementation to count page visits of unique visitors based on a cookie
- admin-ajax.php not working properly on subdomains
- Cookie set in a plugin visible in admin but not on front
- AddThis Plugin adding html comments in P tags
- How to show a message to a user?
- Disqus comments count taking long to update
- Paginated Comments “reply” does not work!
- Creating a comments voting system
- Jetpack Comments Change Placeholder Text
- set cookies for my whole site is not working
- Why links are not linked if edited comment?
- How to fix vanilla comments extra iframe space
- WordPress Plugin: Where should I put my cookies for cURL?
- Reply form used in wordpress.com
- How to resolve these findings from security audit
- ERROR: Cookies are blocked due to unexpected output – no access to FTP
- Questions about using Disqus or Jetpack for comments [closed]
- How to delete Password Protected posts cookies when a user logged out from the site
- How to Allow Users to Select Recipients In a WordPress Comment section?
- Stop the user if login from the cookies