Filters the date of the post.
$format = '', $before = '', $after = '', $display = true
Sortie :
@param string|int $the_date Formatted date string or Unix timestamp if `$format` is 'U' or 'G'. @param string $format PHP date format. @param WP_Post $post The post object. @param string $format Optional. PHP date format. Defaults to the 'date_format' option. @param string $before Optional. Output before the date. Default empty. @param string $after Optional. Output after the date. Default empty. @param bool $display Optional. Whether to echo the date or return it. Default true. @return string|void String if retrieving.
// Utilisation de la fonction the_modified_date
$result = the_modified_date($format = '', $before = '', $after = '', $display = true);
if ($result) {
// Votre logique ici
}
Chargement des actualités...