AnsPress_Email_Hooks::comment_subscription( object $comment )
Description #
Add comment subscriber.
Parameters #
- $commentobject (Required) Comment object.
Source #
File: addons/free/email.php
public static function comment_subscription( $comment ) { if ( $comment->user_id > 0 ) { ap_new_subscriber( $comment->user_id, 'comment_' . $comment->comment_post_ID, $comment->comment_ID ); } }
Expand full source code Collapse full source code View on GitHub: addons/free/email.php:625
Add your comment