apply_filters( 'llms_builder_trashable_post_types', string[] $post_types )
Filter course elements that can be deleted or trashed via the course builder.
Description Description
Note that the use of "trash" in the filter name is not semantically correct as this filter does not guarantee that the element will be sent to the trash. Use the filter llms_builder_trash_{$post_type}_force_delete
to determine if the element is sent to the trash or deleted immediately.
Parameters Parameters
- $post_types
-
(string[]) Array of post type names.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.37.12 | Introduced. |