get_comment_time [ WordPress Function ]
get_comment_time ( $d = '', $gmt = false, $translate = true )
| Parameters: | |
| Uses: |
|
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: get_comment_text, get_comment_date, get_comment_type, get_comment_meta, get_comment_id
Retrieve the comment time of the current comment.
Source
<?php
function get_comment_time( $d = '', $gmt = false, $translate = true ) {
global $comment;
$comment_date = $gmt ? $comment->comment_date_gmt : $comment->comment_date;
if ( '' == $d )
$date = mysql2date(get_option('time_format'), $comment_date, $translate);
else
$date = mysql2date($d, $comment_date, $translate);
return apply_filters('get_comment_time', $date, $d, $gmt, $translate);
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- get_comment_time Wordpress hook details -- Adam Brown, BYU ...
Applied to the formatted comment time in the get_comment_time function (which is also called by ... WordPress version history for get_comment_time ...
adambrown.info - get_comment_time - WordPress Codex
codex.wordpress.org - get_comment_time (WordPress Function) - WPSeek.com
WordPress lookup for get_comment_time, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com - get_comment_time | A HitchHackers guide through WordPress
Feb 12, 2011 ... function get_comment_time( $d = '', $gmt = false, $translate = true ) ... $translate); return apply_filters('get_comment_time', $date, $d, $gmt, ...
hitchhackerguide.com