WordPress at a glance
filter is not described

the_permalink filter-hook . WP 1.0

This filter is documented in wp-includes/link-template.php

Usage

add_filter( 'the_permalink', 'filter_function_name_9028', 10, 2 );
function filter_function_name_9028( $permalink, $post_id ){
	// filter...

	return $permalink;
}
$permalink
-
$post_id
-

Where the hook is called

comment_form()
the_permalink
the_permalink()
the_permalink
wp-includes/comment-template.php 2426
wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ), $post_id ) )
wp-includes/comment-template.php 2439
wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ), $post_id ) )
wp-includes/link-template.php 27
echo esc_url( apply_filters( 'the_permalink', get_permalink( $post ), $post ) );

Where in WP core the hook is used WordPress

Usage not found.