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_2004', 10, 2 );
function filter_function_name_2004( $location, $post_id ){
	// filter...

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

Where the hook is called

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

Where the hook is used (in WP core)

Does not used.