Filter hook 'get_edit_post_link'

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

Description

Filters the post edit link.

Occurrences

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

Parameters

Type Name Description
string $link The edit link.
int $post_id Post ID.
string $context The link context. If set to 'display' then ampersands are encoded.

PHP Doc

/**
	 * Filters the post edit link.
	 *
	 * @since 2.3.0
	 *
	 * @param string $link    The edit link.
	 * @param int    $post_id Post ID.
	 * @param string $context The link context. If set to 'display' then ampersands
	 *                        are encoded.
	 */