| Versions | |
|---|---|
| 4.7 – 6 | theme_placeholder($text) |
Format a dynamic text string for emphasized display in a placeholder.
E.g. t('Added term %term', array('%term' => theme('placeholder', $term)))
$text The text to format (plain-text).
The formatted text (html).
includes/
<?php
function theme_placeholder($text) {
return '<em>' . check_plain($text) . '</em>';
}
?>