do_action( 'ap_before_delete_question', integer $post_id, WP_Post $post )

Description #

Action triggered before deleting a question form database.

At this point question are not actually deleted from database hence it will be easy to perform actions which uses mysql queries.

Parameters #

  • $post_id
    integer Question id.
  • $post
    WP_Post Question object.

Changelog #

VersionDescription
unknownIntroduced.

Source #

File: includes/hooks.php

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