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
- Pretty URLs for File Uploads?
- Recommendations for a LaTeX Plugin? [closed]
- Global Objects and Public Methods
- Limiting sessions to one IP at a time
- Customizing subject in comment notification e-mails
- 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?
- Analytics plugins that allow for inclusion of _trackPageLoadTime()?
- Why does do_action pass a blank string as the first parameter if no $arg is set?
- Build path for a custom portfolio plugin
- How to have “Page Title” different than “Menu Title” in wordpress 3.0.3?
- Plugin for event management? [closed]
- How to add a category or tag to media at upload time with the browser uploader?
- System audit plugin? [closed]
- Call activation hook multiple times
- Non-Linear Questionnaires in WordPress
- The holy grail of Event Management Plugins? [closed]
- Two-step login process – Is it possible?
- How can I hook into existing WordPress Bulk actions?
- WordPress plugin for scheduling appointments [closed]
- Get returned variable from a function to add_shortcode function
- Adding dynamic section to WordPress
- Earliest WP Hook to Safely and Reliably Redirect
- Define a function outside a class and call the function using action or filter hook
- On WordPress 4.4, how to get the post id using the comment_post hook
- How to make Tag Aliases
- Synchronize Custom post type tags to WordPress default posts tags
- Tag system like Quora?
- merging an array to an existing array using add_filter
- template_redirect not being called when using ajax
- Hook into theme-switching later than `setup_theme`
- Is it possible to delay execution of shortcode output callback?
- Why my database table not created on activation?
- add_action in functions.php, do_action in plugin?
- Is there a way to alter the order in which the plugins appear in the page?
- Google maps plugin [closed]
- preprocess_comment array doesn’t have comment_ID
- add action for displaying posts using a shortcode
- What is a good member directory plugin? [closed]
- How can I get WordPress to save comments in markdown format?
- best practice for query string values – get_query_var always empty for my value supplied in query string
- Modifying meta tags after doing ajax call in plugin
- How to integrate CLEditor to comment system?
- Let users share posts via Twitter?
- Viewing post while editing
- Sending data from custom inputs in WordPress comment form in the admin notification email
- Adding widgets to my plugin page instead of WordPress dashboard
- Please tell me any free customize product designer plugin (like customize tshirt, mobile cover, mug etc.) . [closed]
- I have 2 plugins using the same wp_login action hook and one is not working
- How dynamic action login_form_{action} is working
- Custom avatars in wordpress comments?
- Creative Clans Embed Script plugin equivalent? [closed]
- ecommerce plugin with “buy for a friend” feature [closed]
- breadcrumb need to show all pages and subpages
- PHPlist & new posts notification?
- How do I add $_SESSION[”] to my wordpress page?
- Ajax +wordpress onClick link redirect to new page and create html content
- How to replace settings in WordPress plugin from a theme
- How to get the number of pages when paginating comments?
- How to use existing hook in twentytwelve to all theme of wordpress?
- Easy (no code) way to open a form in a lightbox (a plugin?) [closed]
- Simple webshop-plugin? [closed]
- unautomated subscription plugin [closed]
- Photo comment plugin [closed]
- Plugin Needed (User Register – have own profile) [closed]
- Looking for a simple e-commerce plugin [closed]
- Creating posts with links from a txt file
- apply_filters() and call_user_func() to define and call a function outside a class
- Can’t get ID of post that relates to the comment
- Passing function into add_action always returns the first argument
- Hook to display element as product on category page
- Plugin Development – Call to undefined function comment_exists()
- plugin not hooking to my custom hook
- Can I use a hook other than ‘init’ to handle form submissions?
- Stop theme displaying comments
- Plugin hook breaks new WP 4.0 media library grid view?
- How do I replace title with my plugin?
- Looking for Hook that is fired after a plugin or wp upgrade is installed/updated
- Plugin to Link Posts by Title [closed]
- Best Shopping Cart for WordPress [closed]
- What filter or action to replace comments or add new comment system
- Redirect user on second visit on page
- Woocommerce: block user removing cart item
- Merge comments from Facebook with WP comments [closed]
- WordPress Hooks : Where to place callbacks that repetitively yield the same effect?
- scrolling product image gallery [closed]
- Guests comment form – prevent duplicate email addresses
- Permissions error when I use my plugin to delete comments in the front-end