learndash_before_delete_assignment

learndash_before_delete_assignment( int $post_id )

Deletes assignment file when assignment post is deleted.


Description #

Fires on before_delete_post hook.


Parameters #

$post_id

(int) (Required) Assignment post ID.


Source #

File: includes/ld-assignment-uploads.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.