function adsense_filter_info in Google AdSense integration 7
Implements hook_filter_info().
File
- ./
adsense.module, line 219 - Displays Google AdSense ads on Drupal pages.
Code
function adsense_filter_info() {
$filters['adsense'] = array(
'title' => t('AdSense tag'),
'description' => t('Substitutes an AdSense special tag with an ad. Add this below "Limit allowed HTML tags".'),
'process callback' => '_adsense_process_tags',
'tips callback' => '_adsense_filter_tips',
'cache' => FALSE,
);
return $filters;
}