apply_filters( 'get_edit_post_link', string $link, int $post_id, string $context )

Filters the post edit link.


Parameters

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

Top ↑

Source

File: wp-includes/link-template.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes

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