The easiest way might be to use get_edit_post_link()
(Codex ref), which returns just the link, allowing you to use it however you need, according to your purposes.
The easiest way might be to use get_edit_post_link()
(Codex ref), which returns just the link, allowing you to use it however you need, according to your purposes.