WordPress at a glance
filter is not described

get_sample_permalink filter-hook . WP 4.4.0

Filters the sample permalink.

Usage

add_filter( 'get_sample_permalink', 'filter_function_name_6318', 10, 5 );
function filter_function_name_6318( $permalink, $post_id, $title, $name, $post ){
	// filter...

	return $permalink;
}
$permalink(array)
Array containing the sample permalink with placeholder for the post name, and the post name.
$post_id(int)
Post ID.
$title(string)
Post title.
$name(string)
Post name (slug).
$post(WP_Post)
Post object.

Where the hook is called

get_sample_permalink()
wp-admin/includes/post.php 1291
return apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post );

Where the hook is used (in WP core)

Does not used.