WordPress at a glance
filter is not described

edit_post_link filter-hook . WP 2.3.0

Filters the post edit link anchor tag.


add_filter( 'edit_post_link', 'filter_function_name_5853', 10, 3 );
function filter_function_name_5853( $link, $post_id, $text ){
	// filter...

	return $link;
Anchor tag for the edit link.
Post ID.
Anchor text.

Where the hook is called

wp-includes/link-template.php 1343
echo $before . apply_filters( 'edit_post_link', $link, $post->ID, $text ) . $after;

Where the hook is used (in WP core)

Does not used.