apply_filters( "llms_builder_{$post_type}_force_delete", boolean $force , int $id )
Determine whether or not a post type should be moved to the trash or deleted when trashed via the Course Builder.
Description Description
The dynamic portion of this hook, $post_type, refers to the post type name of the post that’s being trashed.
By default all post types are moved to trash except for section, llms_question, and llms_quiz post types.
Parameters Parameters
- $force
-
If
truethe post is deleted, iffalseit will be moved to the trash. - $id
-
WP_Post ID of the post being trashed.
Source Source
File: includes/admin/class.llms.admin.builder.php
Changelog Changelog
| Version | Description |
|---|---|
| 3.37.12 | Introduced. |