Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Admin_Builder::process_trash_item( mixed $id )
Trash (or delete) a single item
Description Description
Parameters Parameters
- $id
-
(Required) Item id. Usually a WP_Post ID but can also be custom ID strings.
Return Return
(array) Associative array containing information about the trashed item. On success returns an array with an id
key corresponding to the item's id. On failure returns the id
as well as an error
key which is a string describing the error.
Source Source
File: includes/admin/class.llms.admin.builder.php
Changelog Changelog
Version | Description |
---|---|
3.37.12 | Introduced. |