Manual:Hooks/LinkEnd

Details
If you return true, an  element with HTML attributes $attribs and contents $text will be returned. If you return false, $ret will be returned.
 * $skin: the Skin object. As of 1.18, this is a DummyLinker instead
 * $target: the Title object that the link is pointing to
 * $options: the options. Will always include either 'known' or 'broken', and may include 'noclasses'.
 * &$text: the final (raw HTML) contents of the  tag, after processing.
 * &$attribs: the final HTML attributes of the  tag, after processing, in associative array form.
 * &$ret: the value to return if your hook returns false.