LearnDash_Permalinks::attachment_link()
Method: Filter the attachment link when using nested URLs.
Method: Filter the attachment link when using nested URLs.
Method: Called via the WordPress List Table instance. This function will adjust the course step permalinks to be nested if enabled.
Method: Override WordPress Get Edit Post Link to include nested URL.
Method: Hook into the admin post editor Permalink display. We override the LD post items so they include the full nested URL
Method: Action for comment form when nested URLs are enabled. This way the user is returned to this course step URL
Method: Add the course_id to comment meta
Method: This second filter will correct calls to the WordPress get_permalink() function to use the new structure
Filter Hook: Filters the rewrite slug for a post type.
Filter Hook: Filters course link post ID.
Function: Utility function to get the nested permalink of the course step within in the course.
Function: Used when editing Lesson, Topic, Quiz or Question post items. This filter is needed to add the ‘course_id’ parameter back to the edit URL after the post is submitted (saved).
Function: Utility function to set the option to trigger flush of rewrite rules.
Class: Class for LearnDash Permalinks
Method: Public constructor for class
Method: Setup custom rewrite URLs.
Filter Hook: Filters list of permalinks structure rules.