I figured it out. Each comment row in the wp_comments
table has a field named comment_parent
which stores the comment_ID
of the parent comment. If the comment has no parent, then the default is 0.
So I guess on each comment post I would check the database for the posted comment’s parent, and if it matched the comment of a subscriber, notify him or her.
Sounds like a plan.
Related Posts:
- Plugin to require Twitter or Facebook login before posting a comment [closed]
- Amazon-like star ratings plugin needed. Lightweight and effective. Prefer Ajax
- Notify multiple email addresses on comments
- comment_email hook doesn’t seem to work for comment editor field
- What is the best method for handling comments?
- Comment Follow-Up Notifier?
- Making Comments Editable?
- Plugin for loading comments on-demand [closed]
- How to replace default comments with custom HTML?
- Send email on new comment when no admin approval needed?
- Is there any wordpress plugin available to auto share comments? [closed]
- WPSE Plugin Repository: The plugins that came out of WP-Answers
- Difference Between Filter and Action Hooks?
- User-friendly cropping of post thumbnails?
- Create posts using markdown? [closed]
- How many times will this code run? (or, how rich is grandma?)
- Resizing images to the actual size used in the editor?
- Which hook should be used to add an action containing a redirect?
- add_action hook for completely new post?
- Who are the most trusted plugin developers? [closed]
- How to search all user meta from users.php in the admin
- Open Source replacement for WPML? [closed]
- Add a new tab to WordPress Plugin install Listing
- Pretty URLs for File Uploads?
- Pros/Cons of “WP e-commerce” and “Shopp” plugins [closed]
- Using register_activation_hook in classes
- Changing Plugin Load Order
- Multilingual WordPress plugins [closed]
- Admin settings update updating every time home page is hit?
- WordPress Hook for user register
- WordPress as a CMS Membership website
- Recommendations for a LaTeX Plugin? [closed]
- Drag & drop HTML5 file upload into the media library?
- Global Objects and Public Methods
- Custom plugin: Trying to show saved data on frontend
- Using filters and actions for plugin API?
- How to deal with small scale comment spam on small commercial sites? [closed]
- Looking for similar posts plugin with custom tuning [closed]
- How should you hook a session_start() when authoring a plugin?
- When can you get current page ID and initialize hooks right after?
- Limiting sessions to one IP at a time
- Writing a plugin that notify my friends of new post that mentions(@) them
- Init action hook running late after PayPal’s return url?
- Is there widely accepted phpDoc syntax for documenting which hook calls a function?
- Customizing subject in comment notification e-mails
- How to save the values of checkbox to the register setting?
- How to add a button to custom post type’s posts-page
- Create a Static HTML Site from WordPress
- Explanation of the “posts_join” and “posts_fields” filter hooks?
- Edit plugin without hooks in functions.php
- How do you use the plugin boilerplate loader class to hook actions and filters?
- How can I create a Quora or Stack Exchange facility without using a specialist theme?
- Collaborative question/answer plugin for WordPress [closed]
- How Does WordPress Uninclude/Deactivate A Plugin?
- How to Show Different Sidebars on Specific Pages?
- How Do I Load My Action Earlier Enough?
- Does WP fire delete_post when trashed posts are automatically deleted?
- Publishing presentations in WordPress?
- Hook to edit an column on comments screen?
- Plugin that integrates Google Storage with WordPress? [closed]
- Is there a plugin that counts posts by author?
- What’s the earliest point I can get the queried object ID?
- How do I Make a Theme “plugin-ready”?
- Fully-featured forum plugin [closed]
- Slideshow control for use in WordPress Thesis theme – non flash
- Analytics plugins that allow for inclusion of _trackPageLoadTime()?
- Advice for implementing single sign-on?
- A good way to maintain a resume on WordPress?
- Why does do_action pass a blank string as the first parameter if no $arg is set?
- Build path for a custom portfolio plugin
- Using development versions of jQuery, TinyMCE, …?
- WordPress scheduled task is called but not executed
- Using the ‘draft_to_publish’ hook (post status transition)
- Blubrry PowerPress vs. PodPress? [closed]
- Any high quality form plugins? [closed]
- How to have “Page Title” different than “Menu Title” in wordpress 3.0.3?
- How often do you need to register_post_type?
- Paid member plugin with some specific features [closed]
- Plugin for event management? [closed]
- What is the difference between feeds served by my WordPress install vs feeds served by FeedBurner?
- What is a good jQuery content slider plugin? [closed]
- Enqueue style inside shortcode but its loaded at the bottom of page (before footer scripts)
- How to add a link to WordPress Plugin install Listing
- How to modify post content before writing to database?
- How to add a category or tag to media at upload time with the browser uploader?
- Is there a wordpress listserv or email group plugin?
- Which tabs widget plugin for wordpress is better? [closed]
- System audit plugin? [closed]
- I can’t find where a hook is being defined in a plugin – Easy Digital Downloads
- Call activation hook multiple times
- How do I handle multiple Submit buttons in plugin’s option page?
- Plugin to embed local video into WordPress? [closed]
- Non-Linear Questionnaires in WordPress
- Displaying search results in the widget itself?
- The holy grail of Event Management Plugins? [closed]
- Is there a WordPress Event Manager that links with your user database?
- Altering the pingback functionality
- OpenX Alternative for wordpress? [closed]
- WordPress eCommerce plugin for books
- What’s the difference between hooks, filters and actions? [duplicate]