learndash_redirect_post_location( string $location = '', int $post_id )

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 Description


Parameters Parameters

$location

(Optional) The destination URL.

Default value: ''

$post_id

(Required) The post ID.


Top ↑

Source Source

File: includes/class-ld-permalinks.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.