LearnDash_Permalinks::attachment_link()
Method: Filter the attachment link when using nested URLs.
LearnDash_Permalinks::attachment_link Read More »
Method: Filter the attachment link when using nested URLs.
LearnDash_Permalinks::attachment_link Read More »
Method: Called via the WordPress List Table instance. This function will adjust the course step permalinks to be nested if enabled.
LearnDash_Permalinks::row_actions Read More »
Method: Override WordPress Get Edit Post Link to include nested URL.
LearnDash_Permalinks::get_edit_post_link Read More »
Method: Hook into the admin post editor Permalink display. We override the LD post items so they include the full nested URL
LearnDash_Permalinks::get_sample_permalink Read More »
Method: Action for comment form when nested URLs are enabled. This way the user is returned to this course step URL
LearnDash_Permalinks::comment_form_top Read More »
Method: Add the course_id to comment meta
LearnDash_Permalinks::comment_post Read More »
Filter Hook: Filters list of permalinks structure rules.
learndash_permalinks_nested_urls Read More »
Method: This second filter will correct calls to the WordPress get_permalink() function to use the new structure
LearnDash_Permalinks::post_type_link Read More »
Filter Hook: Filters the rewrite slug for a post type.
learndash_post_type_rewrite_slug Read More »
Filter Hook: Filters course link post ID.
learndash_post_link_course_id Read More »
Function: Utility function to get the nested permalink of the course step within in the course.
learndash_get_step_permalink Read More »
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).
learndash_redirect_post_location Read More »
Function: Utility function to set the option to trigger flush of rewrite rules.
learndash_setup_rewrite_flush Read More »
Method: Public constructor for class
LearnDash_Permalinks::__construct Read More »
Method: Setup custom rewrite URLs.
LearnDash_Permalinks::generate_rewrite_rules Read More »