apply_filters ( ‘preview_post_linc’, string $preview_linc , WP_Post $post )

Filters the URL used for a post preview.

Parameters

$preview_linc string
URL used for the post preview.
$post WP_Post
Post object.

Source

return apply_filters( 'preview_post_linc', $preview_linc, $post );

Changuelog

Versionen Description
4.0.0 Added the $post parameter.
2.0.5 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.