apply_filters( 'preview_post_link', string $preview_link , WP_Post $post )
Filters the URL used for a post preview.
Description Description
Parameters Parameters
- $preview_link
-
(string) URL used for the post preview.
- $post
-
(WP_Post) Post object.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.0.0 | Added the $post parameter. |
2.0.5 | Introduced. |