WP Affiliate Disclosure

Changelog

1.4.0

  • New: Visual styling controls in the rule editor — pick from 4 presets (Minimal, Boxed, Banner, Inline) or customize colors, borders, padding, and margin without writing CSS.
  • New: After-paragraph placement — show the disclosure after paragraph 1, 2, or 3.
  • New: One-click disclosure templates for Amazon Associates and General FTC compliance (short and long variants).
  • New: [affiliate_disclosure] shortcode alias with style, template, variant, text, and rule attributes.
  • New: REST API CRUD endpoints — POST/PUT/DELETE /wpadc/v1/rules and PUT /wpadc/v1/rules/reorder for programmatic rule management.
  • New: Admin notices when a rule has no targeting conditions or no rules exist (per-user dismissible).
  • Fixed: Disclosure no longer injected in widgets, REST output, excerpts, or featured-image processing — main-loop guard added to all the_content callbacks.
  • Fixed: Autoloader failure now shows a helpful admin notice instead of a white screen.
  • Compatibility: id=”wpadc-wrapper” is now emitted on the first disclosure wrapper per page only — preserving backward-compatible CSS for sites with a single disclosure per page. Pages with multiple disclosures (e.g. both before- and after-content placements active) will only see the id on the first wrapper; use .wpadc-wrapper-class or .wpadc-disclosure to target all wrappers. Advanced users can remove the id entirely by returning false from the wpadc_emit_legacy_wrapper_id filter.

Plugin Website
Visit website

Author
mojofywp
Version:
1.4.0
Last Updated
May 3, 2026
Active Installs
1000
Requires
WordPress 5.8
Tested Up To
WordPress 6.7.5
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.