Used to change the appearance of the date when the_date() is called from a theme.
the_date($content, $format, $before, $after)
Will boldface just the date in the string:
add_filter('the_date', array('foo_bar', 'the_date_filter'), 10, 4); class foo_bar { function the_date_filter($content, $format, $before, $after) { if ($content != '') { if ($after != '') { $content = substr($content, strlen($before), -strlen($after)); } else { $content = substr($content, strlen($before)); } $content = $before . "<strong>$content</strong>" . $after; } return $content } }
See the_date().