You are here

function hook_app_adstxt in AdsTxt 8

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

Return value

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

1 invocation of hook_app_adstxt()
AdsTxtController::buildAppAds in src/Controller/AdsTxtController.php
Serves the configured app-ads.txt file.

File

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

Code

function hook_app_adstxt() {
  return array(
    'onetwothree.com, 12345, DIRECT, AEC242',
    'fourfivesix.com, 4536, DIRECT',
    '97whatever.com, 9675, RESELLER',
  );
}