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

LifterLMS LifterLMS

Code Reference

  • Home
  • Code Reference
Skip to content
Filter by type:
Search
Browse: Home / Code Reference / includes/class.llms.post.relationships.php

LLMS_Post_Relationships::delete_relationships()

Method: Delete / Trash posts related to the deleted post

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

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:89

Used by 1 function | Uses 1 function

LLMS_Post_Relationships::get_relationships()

Method: Retrieve filtered LifterLMS post relationships array

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

Used by 2 functions | Uses 0 functions

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:112

Used by 2 functions | Uses 0 functions

LLMS_Post_Relationships::maybe_update_relationships()

Method: Check relationships and delete / update related posts when a post is deleted Called on `delete_post` hook (before a post is deleted)

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

Used by 0 functions | Uses 4 functions

LLMS_Post_Relationships::unset_relationships()

Method: Unsets relationship data from post_meta when a post is deleted

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

Used by 1 function | Uses 1 function

LLMS_Post_Relationships

Class: Hooks and actions related to post relationships

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

Used by 0 functions | Uses 0 functions

LLMS_Post_Relationships::__construct()

Method:

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

Used by 0 functions | Uses 0 functions
© 2014 - 2019 LifterLMS · Privacy Policy · Terms and Conditions