learndash_remove_lessons_and_quizzes_page learndash_remove_lessons_and_quizzes_page( WP $wp ) Redirects to the home page if the user lands on archive pages for lesson or quiz post types. ContentsDescription Parameters Source Changelog Related Namespace @package Uses Used By Description # Fires on wp hook. Parameters # $wp (WP) (Required) The WP object. Source # File: includes/ld-misc-functions.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # Namespace # global @package # LearnDash / Misc Uses # Uses Uses Description includes/ld-misc-functions.php: learndash_safe_redirect () Utility function to centralize all LearnDash redirect calls. includes/ld-misc-functions.php: learndash_post_type_has_archive () Checks if a LearnDash post type has archive support or not. includes/class-ldlms-post-types.php: learndash_get_post_types () Used By # Used By Used By Description includes/deprecated/3.4.0/functions.php: ld_remove_lessons_and_quizzes_page () Redirects to the home page if the user lands on archive pages for lesson or quiz post types.
Uses # Uses Uses Description includes/ld-misc-functions.php: learndash_safe_redirect () Utility function to centralize all LearnDash redirect calls. includes/ld-misc-functions.php: learndash_post_type_has_archive () Checks if a LearnDash post type has archive support or not. includes/class-ldlms-post-types.php: learndash_get_post_types ()
Used By # Used By Used By Description includes/deprecated/3.4.0/functions.php: ld_remove_lessons_and_quizzes_page () Redirects to the home page if the user lands on archive pages for lesson or quiz post types.