AnsPress_Hooks::after_new_question( integer $post_id, object $post )

Description #

Things to do after creating a question

Parameters #

  • $post_id
    integer (Required) Question id.
  • $post
    object (Required) Question post object.

Changelog #

VersionDescription
4.1.2Removed @see ap_update_post_activity_meta().
1.0Introduced.

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 );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment