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