apply_filters( 'press_this_save_redirect', string $url, int $post_id, string $status )

Filters the URL to redirect to when Press This saves.


Description Description


Parameters Parameters

$url

(string) Redirect URL. If $status is 'publish', this will be the post permalink. Otherwise, the default is false resulting in no redirect.

$post_id

(int) Post ID.

$status

(string) Post status.


Top ↑

Source Source

File: wp-admin/includes/class-wp-press-this.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.