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 Description
Parameters Parameters
- $location
-
(Optional) URL to redirect to after edit post processing.
Default value: ''
- $post_id
-
(Required) Post ID of item being edited.
Return Return
(string) $location URL.
Source Source
File: includes/admin/class-learndash-admin-posts-edit.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |