WordPress at a glance
filter is not described

the_permalink filter-hook . WP 1.5.0

Filters the display of the permalink for the current post.

Usage

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

	return $permalink;
}
$permalink(string)
The permalink for the current post.
$post(int/WP_Post)
Post ID, WP_Post object, or 0.

Список изменений

С версии 1.5.0 Введена.
С версии 4.4.0 Added the $post parameter.

Где вызывается хук

the_permalink()
the_permalink
comment_form()
the_permalink
wp-includes/link-template.php 27
echo esc_url( apply_filters( 'the_permalink', get_permalink( $post ), $post ) );
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

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