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.
Source
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/edit_post_link