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.


Top ↑

Parameters Parameters

$post_types

(string[]) Array of post type names.


Top ↑

Source Source

File: includes/admin/class.llms.admin.builder.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
3.37.12 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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