Definition:
function get_comments_popup_template() {}
Source code
function get_comments_popup_template() {
$template = get_query_template( 'comments_popup', array( 'comments-popup.php' ) );
// Backward compat code will be removed in a future release
if ('' == $template)
$template = ABSPATH . WPINC . '/theme-compat/comments-popup.php';
return $template;
}
1288

February 12, 2011 


get_comment_author
Definition:
function get_comment_author( $comment_ID = 0 ) {}
Parameters
Return values
returns:The comment author
Defined filters
apply_filters('get_comment_author', $author)Source code
function get_comment_author( $comment_ID = 0 ) { $comment = get_comment( $comment_ID ); if ( empty($comment->comment_author) ) { if (!empty($comment->user_id)){ $user=get_userdata($comment->user_id); $author=$user->user_login; } else { $author = __('Anonymous'); } } else { $author = $comment->comment_author; } return apply_filters('get_comment_author', $author); }1290