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