• LifterLMS
  • Knowledge Base
  • Academy
  • Blog
  • Podcast
  • Contributors
  • My Account

LifterLMS LifterLMS

  • Code Reference
  • REST API
  • LLMS-CLI
  • Changelog Subscribe

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Methods / Page 267

LLMS_Post_Relationships::delete_relationships()

Method: Delete / Trash posts related to the deleted post.

Source: includes/class.llms.post.relationships.php:269

Used by 1 function | Uses 2 functions

LLMS_Post_Relationships::delete_table_records()

Method: Delete records from a table that are related to the deleted post.

Source: includes/class.llms.post.relationships.php:292

Used by 1 function | Uses 0 functions

LLMS_Post_Relationships::delete_wp_posts()

Method: Delete or trash WP Posts related to the deleted post.

Source: includes/class.llms.post.relationships.php:314

Used by 1 function | Uses 1 function

LLMS_Post_Relationships::get_post_types()

Method: Get a list of post types with relationships that should be checked.

Source: includes/class.llms.post.relationships.php:333

Used by 1 function | Uses 1 function

LLMS_Post_Relationships::get_related_posts()

Method: Retrieve an array of post ids related to the deleted post by post type and meta key.

Source: includes/class.llms.post.relationships.php:358

Used by 2 functions | Uses 0 functions

LLMS_Post_Relationships::get_relationships()

Method: Retrieve filtered LifterLMS post relationships array.

Source: includes/class.llms.post.relationships.php:344

Used by 2 functions | Uses 0 functions

LLMS_Post_Relationships::maybe_clean_earned_engagments_related_user_post_meta()

Method: Maybe delete LifterLMS user post meta related to earned engagements.

Source: includes/class.llms.post.relationships.php:114

Used by 0 functions | Uses 2 functions

LLMS_Post_Relationships::maybe_prevent_product_deletion()

Method: Determine whether a product deletion should take place.

Source: includes/class.llms.post.relationships.php:178

Used by 0 functions | Uses 3 functions

LLMS_Post_Relationships::maybe_update_relationships()

Method: Check relationships and delete / update related posts when a post is deleted.

Source: includes/class.llms.post.relationships.php:389

Used by 0 functions | Uses 4 functions

LLMS_Post_Relationships::rest_filter_products_with_active_subscriptions_error_message()

Method: Filter the error message returned when trying to delete a product with active subscription via REST API.

Source: includes/class.llms.post.relationships.php:217

Used by 0 functions | Uses 1 function
« Previous 1 … 266 267 268 … 408 Next »
© 2014 - 2026 LifterLMS · Privacy Policy · Terms and Conditions