Ads.txt Manager source code

By 10up, on WordPress.org since 2017. 100,000+ active installs.

Browse code Download zip

Create, manage, and validate your ads.txt and app-ads.txt from within WordPress, like any other content asset. Requires PHP 7.4+. What is ads.txt? Below is its source code for every one of its 11 releases, what changed in the latest one, and how often it ships.

What changed in 1.4.6

Released Sep 14, 2026, 1 year after 1.4.5
  • Changed: Replace dirname( __FILE__ ) calls with __DIR__ magic constant (props @Soean, @peterwilsoncc via #187).
  • Changed: Bump WordPress “tested up to” version 6.8 (props @jeffpaul, @godleman via #183, #184, #194, #195).
  • Changed: Bump WordPress minimum supported version to 6.6 (props @jeffpaul, @godleman via #183, #184, #194, #195).
  • Fixed: Add missing text domain and fix wrong text domain (props @mehrazmorshed, @dkotter via #182).
  • Fixed: Remove unnecessary echo statement (props @Soean, @dkotter via #186).
  • Fixed: Improve performance of the clean_orphaned_posts function (props @dilipbheda, @dkotter via #192).

4 files changed since 1.4.5: 4 modified, 0 added, 0 removed.

Compare 1.4.5 with 1.4.6

Release history

11 releases since February 2018
  1. 1.4.6 Sep 14, 2026 Changed: Replace dirname( __FILE__ ) calls with __DIR__ magic constant (props @Soean, @peterwilsoncc via #187).
  2. 1.4.5 Apr 24, 2025 Changed: Bump WordPress “tested up to” version 6.6 (props @ankitguptaindia, @jeffpaul, @sudip-md via #172, #173).
  3. 1.4.4 Jun 26, 2024 Added: Placeholder record can be added with no authorized sellers or buyers (props @ankitrox, @peterwilsoncc via #129).
  4. 1.4.3 Oct 27, 2023 Added: ads.txt file exists check from the backend (props @sksaju, @peterwilsoncc, @mmcachran, @dinhtungdu, @helen, @jeffpaul via #131).
  5. 1.4.2 Mar 21, 2023 Changed: Update Support Level from Active to Stable (props @jeffpaul, @peterwilsoncc via #123).
Full Ads.txt Manager changelog with diffs

Source of 1.4.6

8 files
Browse all Ads.txt Manager 1.4.6 files Browse trunk