LDLMS_Transients
Class: Class to create the instance.
Class: Class to create the instance.
Method: Private constructor for class
Method: Get a Transient
Filter Hook: Filters whether the transients are disabled or not.
Method: Utility function to interface with WP set_transient function. This function allow for filtering if to actually write the transient.
Method: Purge all transients.
Filter Hook: Remove the hook into the WP ‘the_content’ filter once we are in our handler. This will allow other templates to call the ‘the_content’ filter without causing recursion.
Method: Get example user ID. This is used as part of WP 5.3 Gutenberg Block Example / Preview.
Method: Get example post ID. This is used as part of WP 5.3 Gutenberg Block Example / Preview.
Method: Filter post_parent before update/insert. Ensure the post_parent field is zero for course post types.