Filter hook 'edit_post_link'

in WP Core File wp-includes/link-template.php at line 1542

Description

Filters the post edit link anchor tag.

Occurrences

Filename Line Number
wp-includes/link-template.php 1542

Parameters

Type Name Description
string $link Anchor tag for the edit link.
int $post_id Post ID.
string $text Anchor text.

PHP Doc

/**
	 * Filters the post edit link anchor tag.
	 *
	 * @since 2.3.0
	 *
	 * @param string $link    Anchor tag for the edit link.
	 * @param int    $post_id Post ID.
	 * @param string $text    Anchor text.
	 */