Custom Comment Display

I am trying to call a custom callback function to wp_list_comments.

      wp_list_comments( array (
          'style' => 'ul',
          'short_ping' => true,
          'callback' => 'mytheme_comment'

But I receive the following alert message.

( ! ) Warning: call_user_func() expects parameter 1 to be a valid callback, function ‘mytheme_comment’ not found or invalid function name in /srv/www/ on line 179

I am trying to replicate the same as wordpress does in the following example.

This topic was automatically closed after 42 days. New replies are no longer allowed.