You are here

function hook_adstxt in AdsTxt 7

Same name and namespace in other branches
  1. 8 adstxt.api.php \hook_adstxt()

Add additional lines to the site's ads.txt file.

Return value

array An array of strings to add to the ads.txt.

1 invocation of hook_adstxt()
adstxt_callback in ./adstxt.module
Show the ads.txt file.

File

./adstxt.api.php, line 14
Hooks provided by the adstxt module.

Code

function hook_adstxt() {
  return array(
    'greenadexchange.com, 12345, DIRECT, AEC242',
    'blueadexchange.com, 4536, DIRECT',
    'silverssp.com, 9675, RESELLER',
  );
}