learndash_before_delete_essay

learndash_before_delete_essay( int $post_id )

Deletes the uploaded file when essay post is deleted.


Description #

Fires on before_delete_post hook.


Parameters #

$post_id

(int) (Required) Post ID.


Source #

File: includes/quiz/ld-quiz-essays.php


Changelog #

Changelog
Version Description
2.5.0 Introduced.