Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: comment_reply_link

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1267       * @since 2.7.0
1268       *
1269       * @param string  $before  Text or HTML displayed before the reply link.
1270       * @param string  $link    The HTML markup for the comment reply link.
1271       * @param string  $after   Text or HTML displayed after the reply link.
1272       * @param array   $args    An array of arguments overriding the defaults.
1273       * @param object  $comment The object of the comment being replied.
1274       * @param WP_Post $post    The WP_Post object.
1275       */
1276      return apply_filters( 'comment_reply_link', $before . $link . $after, $args, $comment, $post );
1277 }
1278
1279 /**
1280  * Displays the HTML content for reply to comment link.
1281  *
1282  * @since 2.7.0
1283  *
1284  * @param array       $args    Optional. Override default options, @see get_comment_reply_link()
1285  * @param int         $comment Optional. Comment being replied to. Default current comment.