过滤帖子编辑链接。
原型
apply_filters( 'get_edit_post_link', string $link, int $post_id, string $context )
参数
$link
(string)
编辑链接。
$post_id
(int)
帖子ID。
$context
(string)
链接上下文。如果设置为’display’,则会对&符号进行编码。
源文件
路径:wp-includes/link-template.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/get_edit_post_link/