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_Post_Relationships::delete_relationships( obj $post, array $data )
Delete / Trash posts related to the deleted post
Description Description
Parameters Parameters
- $post
-
(Required) WP Post that's been deleted.
- $data
-
(Required) Relationship data array.
Return Return
(void)
Source Source
File: includes/class.llms.post.relationships.php
Changelog Changelog
Version | Description |
---|---|
3.37.8 | Allow for deletion of related items outside the WP core posts table. |
3.16.12 | Introduced. |