AnsPress_Hooks::after_new_question( integer $post_id, object $post )
Description #
Things to do after creating a question
Parameters #
- $post_idinteger (Required) Question id.
- $postobject (Required) Question post object.
Changelog #
Version | Description |
---|---|
4.1.2 | Removed @see ap_update_post_activity_meta(). |
1.0 | Introduced. |
Source #
File: includes/hooks.php
public static function after_new_question( $post_id, $post ) { /** * Action triggered after inserting a question * * @since 0.9 */ do_action( 'ap_after_new_question', $post_id, $post ); }
Expand full source code Collapse full source code View on GitHub: includes/hooks.php:151
Add your comment