Filters the URL used for a post preview.
Parameters
$preview_link
string- URL used for the post preview.
$post
WP_Post- Post object.
Source
return apply_filters( 'preview_post_link', $preview_link, $post );
Filters the URL used for a post preview.
$preview_link
string$post
WP_Postreturn apply_filters( 'preview_post_link', $preview_link, $post );
User Contributed Notes
You must log in before being able to contribute a note or feedback.