WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about preview_post_link

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/link-template.php apply_filters 1431 /**
* 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.
*/

Hook Parameters

Parameter Type Name Description
string $preview_link URL used for the post preview.
WP_Post $post Post object.