Browse: Home / Functions /

leandash_redirect_post_location

This function has been deprecated. Use ‘learndash_redirect_post_location’ instead.

leandash_redirect_post_location( string $location = '' )

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).


Description #


Parameters #

$location

(string) (Optional) Location.

Default value: ''


Source #

File: includes/deprecated/2.5.0/functions.php


Changelog #

Changelog
Version Description
2.5.0 Introduced. Use 'learndash_redirect_post_location' instead.