apply_filters( 'edit_post_link', string $link, int $post_id, string $text )

Filters the post edit link anchor tag.


Parameters

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

Top ↑

Source

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

echo $before . apply_filters( 'edit_post_link', $link, $post->ID, $text ) . $after;


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.