You are here

function _adsense_check_placeholder in Google AdSense integration 5

Same name and namespace in other branches
  1. 5.2 adsense.module \_adsense_check_placeholder()
1 call to _adsense_check_placeholder()
adsense_display in ./adsense.module

File

./adsense.module, line 1078

Code

function _adsense_check_placeholder() {
  if (variable_get(ADSENSE_PLACEHOLDER, '1')) {

    // Ads are globally disabled and a place holder is set
    return true;
  }
  else {
    return false;
  }
}