Topic: Overwrite Functions

Hi,
I looked everywhere but I didn't find the answer anywhere.
I would like to overwrite some functions without modifying any theme file. An exemple of a function to be overwritten (in template.php):

function arras_list_comments($comment, $args, $depth) {
    $GLOBALS['comment'] = $comment;
?>
    <li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
        <div class="comment-node" id="comment-<?php comment_ID(); ?>">
            <div class="comment-controls">
            <?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
            </div>
            <div class="comment-author vcard">
            <?php echo get_avatar($comment, $size = 32) ?>
            <cite class="fn"><?php echo get_comment_author_link(); ?></cite>
            </div>
            <?php if ( $comment->comment_approved == '0' ) : ?>
                <span class="comment-moderation"><?php _e('Your comment is awaiting moderation.', 'arras') ?></span>    
            <?php endif; ?>
            <div class="comment-meta commentmetadata">
                <?php printf( __('Posted %1$s at %2$s', 'arras'), '<abbr class="comment-datetime" title="' . get_comment_time( __('c', 'arras') ) . '">' . get_comment_time( __('F j, Y', 'arras') ), get_comment_time( __('g:i A', 'arras') ) . '</abbr>' ); ?>
            </div>
            <div class="comment-content"><?php comment_text() ?></div>
        </div>
<?php
}

How can I do it?

Thanks!  big_smile

Thumbs up