WordPress at a glance
filter is not described

redirect_post_location filter-hook . WP 2.9.0

Filters the post redirect destination URL.

Usage

add_filter( 'redirect_post_location', 'filter_function_name_5748', 10, 2 );
function filter_function_name_5748( $location, $post_id ){
	// filter...

	return $location;
}
$location(string)
The destination URL.
$post_id(int)
The post ID.

Changelog

Since 2.9.0 Introduced.

Where the hook is called

redirect_post()
redirect_post_location
wp-admin/includes/post.php 1983
wp_redirect( apply_filters( 'redirect_post_location', $location, $post_id ) );

Where the hook is used (in WP core)

Usage not found!