Learndash_Admin_Questions_Listing::before_delete_post( integer $post_id )
Initial hook for deleting a post.
Description Description
For the Questions post type we want to also remove the ProQuiz Question. So we grab the reference from the post meta for ‘question_pro_id’.
Parameters Parameters
- $post_id
-
(Required) $Post ID to be deleted.
Source Source
File: includes/admin/classes-posts-listings/class-learndash-admin-questions-listing.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |