apply_filters( ‘get_edit_post_link’, string $link, int $post_id, string $context )

In this article

Filters the post edit link.

Parameters

$linkstring
The edit link.
$post_idint
Post ID.
$contextstring
The link context. If set to 'display' then ampersands are encoded.

Source

return apply_filters( 'get_edit_post_link', $link, $post->ID, $context );

Changelog

VersionDescription
2.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.