WordPress at a glance
filter is not described

get_sample_permalink filter-hook . WP 4.4.0

Filters the sample permalink.


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

	return $permalink;
Array containing the sample permalink with placeholder for the post name, and the post name.
Post ID.
Post title.
Post name (slug).
Post object.

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.