wpseek.com
A WordPress-centric search engine for devs and theme authors



get_edit_post_link › WordPress Filter Hooks

Since2.3.0
Deprecatedn/a
apply_filters( 'get_edit_post_link', $link, $post->ID, $context )
Parameters: (3)
  • (string) $link The edit link.
    Required: Yes
  • (int) $post_id Post ID.
    Required: Yes
  • (string) $context The link context. If set to 'display' then ampersands are encoded.
    Required: Yes
Defined at:
Codex:

Filters the post edit link.





Source

return apply_filters( 'get_edit_post_link', $link, $post->ID, $context );