function _adsense_get_site_owner_client_id in Google AdSense integration 5
3 calls to _adsense_get_site_owner_client_id()
File
- ./
adsense.module, line 1602
Code
function _adsense_get_site_owner_client_id() {
// TODO
// This should be expanded in the future to allow multiple site owners
// identified by sharing a specific role. The percentage for each user
// should be stored somewhere (profile?)
// For the meantime, the first Drupal user is the owner of the site.
return _adsense_get_profile_client_id(1);
}