On this page
apply_filters( 'get_edit_post_link', string $link, int $post_id, string $context )
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
File: wp-includes/link-template.php. View all references
return apply_filters( 'get_edit_post_link', $link, $post->ID, $context );
Related
Used By
| Used By | Description |
|---|---|
| get_edit_post_link() wp-includes/link-template.php | Retrieves the edit post link for post. |
Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_edit_post_link