apply_filters( 'redirect_post_location', string $location , int $post_id )
Filters the post redirect destination URL.
Parameters
- $location
-
The destination URL.
- $post_id
-
The post ID.
Source
Changelog
Version | Description |
---|---|
WP-2.9.0 | Introduced. |