How to append to the end of the comments array
-
I’m trying to include something at the end of the comments array for a plugin.
I currently have
add_filter('comments_array', 'my_function')
, wheremy_function($comments='')
is something along the lines of:my_function($comments='') { echo 'something'; return $comments; }
Is there some way I can print the WordPress comments and then append something to them?
Thanks.
- The topic ‘How to append to the end of the comments array’ is closed to new replies.