Browse: Home / Functions /

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.


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.