AnsPress_Email_Hooks::question_subscription( integer $post_id, object $_post )
Description #
Subscribe OP to his own question.
Parameters #
- $post_idinteger (Required) Post ID.
- $_postobject (Required) post objct.
Source #
File: addons/free/email.php
public static function question_subscription( $post_id, $_post ) { if ( $_post->post_author > 0 ) { ap_new_subscriber( $_post->post_author, 'question', $_post->ID ); } }
Expand full source code Collapse full source code View on GitHub: addons/free/email.php:602
Add your comment