redirect_post_location

Advertisement

Summery Summery

Filters the post redirect destination URL.

Syntax Syntax

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

Parameters Parameters

$location

The destination URL.

$post_id

The post ID.

Source Source

File: wp-admin/includes/post.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply