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_post_type( int $id, string $post_type )

Delete / Trash a post type


Description Description


Parameters Parameters

$id

(Required) WP_Post ID.

$post_type

(Required) Post type name.


Top ↑

Return Return

(boolean|WP_Error) true when successfully deleted or trashed. WP_Error for unsupported post types or when a deletion error is encountered.


Top ↑

Source Source

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


			

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.