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
1664       * Filters the comment reply link.
1665       *
1666       * @since 2.7.0
1667       *
1668       * @param string  $link    The HTML markup for the comment reply link.
1669       * @param array   $args    An array of arguments overriding the defaults.
1670       * @param object  $comment The object of the comment being replied.
1671       * @param WP_Post $post    The WP_Post object.
1672       */
1673      return apply_filters( 'comment_reply_link', $args['before'] . $link . $args['after'], $args, $comment, $post );
1674 }
1675
1676 /**
1677  * Displays the HTML content for reply to comment link.
1678  *
1679  * @since 2.7.0
1680  *
1681  * @see get_comment_reply_link()
1682  *