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

(string) The destination URL.

$post_id

(int) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.