I want to place filter for comment_reply_link data flow. OK, setup it: <?php add_filter('comment_reply_link', 'comment_reply_link_filter',99); ?>
Now, according to Plugin API/Filter Reference:
comment_reply_link … Filter function arguments: link (string), custom options (array), current comment (object), current post (object).
(@samman)
12 years, 5 months ago
Hello!
I want to place filter for comment_reply_link data flow. OK, setup it:
<?php add_filter('comment_reply_link', 'comment_reply_link_filter',99); ?>
Now, according to Plugin API/Filter Reference:
Indeed, in comment-template.php file we can see:
Four arguments sended to filter, as you see.
So, my hook comment_reply_link_filter can expect all these 4 arguments as it’s input:
Output of my filter:
How it can be at all?? Where is another 3 args??