Description
Filters the URL used for a post preview.
Occurrences
Filename | Line Number |
---|---|
wp-includes/link-template.php | 1435 |
Parameters
Type | Name | Description |
---|---|---|
string | $preview_link | URL used for the post preview. |
WP_Post | $post | Post object. |
PHP Doc
/**
* Filters the URL used for a post preview.
*
* @since 2.0.5
* @since 4.0.0 Added the `$post` parameter.
*
* @param string $preview_link URL used for the post preview.
* @param WP_Post $post Post object.
*/