Browse: Home / Hooks /

learndash_step_completed_redirect_immediately

apply_filters( 'learndash_step_completed_redirect_immediately',  boolean $redirect_immediately )

Filters whether to redirect the user immediately after the step is completed.


Description #


Parameters #

$redirect_immediately

(boolean) Whether to redirect the user immediately. True if automatic progression is enabled.


Return #

(boolean) Returns true if the user should be redirected immediately, otherwise false.


Source #

File: includes/course/ld-course-progress.php


Changelog #

Changelog
Version Description
4.21.5. Changed the default value to true if automatic progression is enabled.
4.21.4 Introduced.