You are here

function adsense_get_ad_code in Google AdSense integration 5

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

File

./adsense.module, line 108

Code

function adsense_get_ad_code($format) {
  $all_ads = adsense_ad_formats();
  return $all_ads[$format]['code'];
}