function fb_social_init in Facebook social plugins integration 6
Same name and namespace in other branches
- 6.2 fb_social.module \fb_social_init()
Implementation of hook_init
File
- ./
fb_social.module, line 11 - Common settings for all fb social plugins
Code
function fb_social_init() {
// like box or comments widget may want to admin like/comments
if (module_exists('fb_social_like') || module_exists('fb_social_comments')) {
$data = '<meta property="fb:app_id" content="' . check_plain(variable_get('fb_social_appid', '')) . '"/>' . "\n";
drupal_set_html_head($data);
}
}