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
1274       * @since 2.7.0
1275       *
1276       * @param string  $before  Text or HTML displayed before the reply link.
1277       * @param string  $link    The HTML markup for the comment reply link.
1278       * @param string  $after   Text or HTML displayed after the reply link.
1279       * @param array   $args    An array of arguments overriding the defaults.
1280       * @param object  $comment The object of the comment being replied.
1281       * @param WP_Post $post    The WP_Post object.
1282       */
1283      return apply_filters( 'comment_reply_link', $before . $link . $after, $args, $comment, $post );
1284 }
1285
1286 /**
1287  * Displays the HTML content for reply to comment link.
1288  *
1289  * @since 2.7.0
1290  *
1291  * @param array       $args    Optional. Override default options, @see get_comment_reply_link()
1292  * @param int         $comment Optional. Comment being replied to. Default current comment.