Created
May 29, 2015 04:23
-
-
Save cklosowski/c4f5fcf54d1e0950ae6a to your computer and use it in GitHub Desktop.
Quick hook into the Twenty Fifteen Reply to link
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function ck_our_reply_additions( $text, $args, $comment, $post ) { | |
$text = $text . ' <button>Click here to like this comment</button>'; | |
return $text; | |
} | |
add_filter( 'comment_reply_link', 'ck_our_reply_additions', 10, 4 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment