apply_filters( 'preview_post_link', string $preview_link, WP_Post $post )

Filters the URL used for a post preview.

Description Description

Parameters Parameters


(string) URL used for the post preview.


(WP_Post) Post object.

Top ↑

Source Source

File: wp-includes/link-template.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.0.0 Added the $post parameter.
2.0.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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