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

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

Список изменений

С версии 2.9.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WP

Использование не найдено.