You might want to check out the comments_array filter.
In 3.5, it is applied in Line 891 of wp-includes/comment-template.php:
$wp_query->comments = apply_filters( 'comments_array', $comments, $post->ID );
Related Posts:
- Where is the best place to use add_filter
- Edit plugin without hooks in functions.php
- Using add_filter inside another class
- How to list the Hooks and order of execution in current loading page? [duplicate]
- Pass A Value From Outside To A Plugin Variable
- Failed to invoke other hook from the init hook
- How does WooCommerce display a custom comment_type in Comment Admin?
- How can I filter blog name?
- Plugin: How should I handle deleting comments?
- Custom preview_post_link not working for draft post
- Add Fields with Sub-Fields to WP Job Manager
- Determine plugin name from within plugin_action_links filter
- Plugin Functionality Only for Editor and Administrator
- merging an array to an existing array using add_filter
- Override comments.php template with plugin
- add_filter comment_edit_redirect not working
- How to change commenter links to /user/user_id?
- How can I get WordPress to save comments in markdown format?
- How to find the origin of a file upload from within wp_handle_upload?
- White page by using filter template_include
- How to check current user before all actions and filters?
- Create a navbar filter that filters by a custom field
- Passing an array from shortcode-function to filter-function
- Get Time Taken By Each Action Hook in WordPress
- qTranslate remove default directory from link
- How to change the name of the “edit my profile” link in the WordPress admin backend
- Proper way to replace the_content only for pages created by custom plugin
- add_filter doesn’t work
- Redirect to another page using contact form 7? [closed]
- Check if variable is set in filter
- Check filter defined or not?
- Add a function call after content automatically?
- what is the point of telling add_filter how many parameters you want passed to the function?
- How to add filter for wordpress plugin?
- How to use add_action for multiple instances of the same class
- Add a Custom Field in Comment Box next to the Text area
- How to append new form elements in “Add New” form of Users in WordPress admin panel?
- Want to create custom design of progress indicator in wpforms
- Add hook after content without formatting
- Using OR Condition with facetwp facets
- How to remove WordPress Default Comment? not Facebook
- 500 Internal server error wp_handle_upload_prefilter
- Nested Actions and Filters
- Remove action added in plugin class from theme
- Using multi-dimensional array with filter
- Can I add content before post content without using the_content filter
- WordPress Add advertising ads befor and after content with periority [closed]
- trying to create simple plugin to filter categories from all authors
- Jetpack Comments Change Placeholder Text
- shortcode which is introduced into entry the blog, and appears in side bar
- How do i get all author posts on custom post type list
- Unable to pass arguments from plugin form to filter hook using ajax, the data is transferring via ajax but unable to pass as arguments in filter hooks
- How can we extent core/group or cover block?
- Custom pages with plugin
- Update my custom WordPress Plugin through my own server [duplicate]
- Do plugin files have to follow a specific convention to be “picked up” by WordPress?
- WordPress Vote Plugin – Vote Once and Track User
- How to read configuration file in wordpress or PHP
- Setting up WordPress plugin’s page
- how does wp.media javascript library work?
- Can Not Redirect from Plugin-Registered Admin Page
- How to Reload the Dashboard After Clicking Update in Quick-Edit?
- Loading class files via autoload method
- I would like to use create a function in my custom plugin to tell WP to use a different header
- Auto add content such as pages upon plugin activation?
- Escape when echoed
- How to remove the woocommerce_checkout_process action hook in woocommerce if particular project in cart [closed]
- WP_Query ordering numbers as letters
- WordPress Automatic Plugin Update Renames Plugin Directory
- Execute a plugin only on post pages
- When to call add_filter
- Create dynamic page content from custom WordPress plugin page
- Object Oriented Plugin not working
- What are the specifics of WordPress development I need to know? [closed]
- Insert data from .sql file in wordpress plugin
- How can i get the post’s full html source by its ID?
- WordPress user account activation
- Separate database for a wordpress plugin
- remove all submenus from plugin
- How to prevent plugins from sniffing/stealing other plugins’ options?
- Hook for page Request?
- Comment IP Plugin – Fixing onfocus=’this.select()’
- How to render a template file using shortcode inside a plugin
- Separate jQuery for Individual Comments?
- Does WordPress check for updates of a plugin via plugins root folder name?
- Delete data from custom table when deleting a post
- Need to add/remove group of options and display them as rows
- How to deactivate my plugin upon deactivation of NextGen
- Paypal Framework
- Fatal error “Call to undefined function is_plugin_active” each time the plugin is activated
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- How to make WooCommerce multiple filter with custom meta fields
- How to use third-party SendGrid Email Validation API in Gravity Forms?
- Modify Plugin PHP Class in Child Theme – Correct Method
- Plugin to Delete All Posts Monthly
- mailjet plugin – extend functionnalities and reuse api
- Creating fields in the database
- Is Nonce Verification (CSRF) required for WordPress Custom Bulk User Actions?
- plugin development code standard not matching for SQL query
- Ajax response from Media Selection does not update ALL information more than once