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.


Top ↑

Source Source

File: includes/admin/classes-posts-listings/class-learndash-admin-questions-listing.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.