function _spamicide_field_post_render in Spamicide 6
Same name and namespace in other branches
- 7 spamicide.inc \_spamicide_field_post_render()
#post_render callback on the spamicide field. This will wrap the field in a div so it can be hidden with CSS.
1 string reference to '_spamicide_field_post_render'
- spamicide_form_alter in ./
spamicide.module - Implementation of hook_form_alter
File
- ./
spamicide.module, line 499 - This module provides yet another tool to eliminate spam.
Code
function _spamicide_field_post_render($content, $element) {
return '<div class="' . _spamicide_get_css_class($element['#name']) . '">' . $content . '</div>';
}