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