evolve_pings_callback

Evolve_pings_callback() recreate the comment list.

Description

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

Parameters (3)

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

Usage

  1. if ( !function_exists( 'evolve_pings_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_pings_callback($comment, $args, $depth); 
  15.  

Defined (1)

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

/library/functions/comments.php  
  1. function evolve_pings_callback($comment, $args, $depth) { 
  2. $GLOBALS['comment'] = $comment; 
  3. $tag = apply_filters('evolve_pings_callback_tag', (string) 'li'); // Available filter: evolve_pings_callback_tag 
  4. $time = apply_filters('evolve_pings_callback_time', (string) ' on '); // Available filter: evolve_pings_callback_time 
  5. $when = apply_filters('evolve_pings_callback_when', (string) ' at '); // Available filter: evolve_pings_callback_time 
  6.  
  7. if ($comment->comment_approved == '0') 
  8. echo '<p class="ping-unapproved moderation alert">' . __('Your trackback is awaiting moderation.', 'evolve') . '</p>'; 
  9. ?> 
  10. <!--BEING .pings--> 
  11. <<?php echo $tag; ?> class="<?php echo semantic_comments(); ?>" id="ping-<?php echo $comment->comment_ID; ?>"> 
  12. <?php 
  13. comment_author_link(); 
  14. echo $time; 
  15. ?><a class="trackback-time" href="<?php comment_link(); ?>"><?php 
  16. comment_date(); 
  17. echo $when; 
  18. comment_time(); 
  19. ?></a> 
  20. <?php