function cleantalk_form_user_filter_form_alter in Anti Spam by CleanTalk 7.2
Implements hook_form_FORM_ID_alter().
File
- ./
cleantalk.module, line 2593 - Main CleanTalk integration module functions.
Code
function cleantalk_form_user_filter_form_alter(&$form, &$form_state, $form_id) {
$ct_authkey = variable_get('cleantalk_authkey', '');
if (!empty($ct_authkey)) {
$form['actions']['find_spammers'] = array(
'#type' => 'submit',
'#value' => t('Check for spammers'),
'#submit' => array(
'cleantalk_find_spammers',
),
);
}
}