Browse: Home / Classes / Learndash_Admin_Post_Edit /


Learndash_Admin_Post_Edit::redirect_post_location( string $location = '',  integer $post_id )

Called from WP when saving a post edit form. This filter allows us to interject a ‘currentTab’ query string variable.

Description #

Parameters #


(string) (Optional) URL to redirect to after edit post processing.

Default value: ''


(integer) (Required) Post ID of item being edited.

Return #

(string) $location URL.

Source #

File: includes/admin/class-learndash-admin-posts-edit.php

Changelog #

Version Description
3.0.0 Introduced.