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.


Top ↑

Return Return

(string) $location URL.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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