evolve_comments_callback

Evolve_comments_callback() recreate the comment list.

Description

evolve_comments_callback( $comment, $args, $depth ); 

Parameters (3)

0. $comment
The comment.
1. $args
The args.
2. $depth
The depth.

Usage

  1. if ( !function_exists( 'evolve_comments_callback' ) ) { 
  2. require_once '/library/functions/comments.php'; 
  3.  
  4. // The comment. 
  5. $comment = null; 
  6.  
  7. // The args. 
  8. $args = null; 
  9.  
  10. // The depth. 
  11. $depth = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = evolve_comments_callback($comment, $args, $depth); 
  15.  

Defined (1)

The function is defined in the following location(s).

/library/functions/comments.php  
  1. function evolve_comments_callback($comment, $args, $depth) { 
  2. $GLOBALS['comment'] = $comment; 
  3. $GLOBALS['comment_depth'] = $depth; 
  4. $tag = apply_filters('evolve_comments_list_tag', (string) 'li'); // Available filter: evolve_comments_list_tag 
  5. ?> 
  6.  
  7. <!--BEING .comment--> 
  8. <<?php echo $tag; ?> class="<?php semantic_comments(); ?>" id="comment-<?php echo comment_ID(); ?>"> 
  9. <?php