apply_filters( 'redirect_post_location', string $location, int $post_id )

Filters the post redirect destination URL.


Parameters

$location string
The destination URL.
$post_id int
The post ID.

Top ↑

Source

File: wp-admin/includes/post.php. View all references

wp_redirect( apply_filters( 'redirect_post_location', $location, $post_id ) );


Top ↑

Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes

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