• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Equalize Digital Home

Equalize Digital

Website Accessibility Consulting, Training, and Development

  • My Account
  • Support
  • Checkout
  • Software
    • Accessibility Checker
      • Features: Accessibility Checker
      • Documentation: Accessibility Checker
      • Buy Accessibility Checker
      • Start Free
    • ArchiveWP
      • Documentation: ArchiveWP
      • Buy ArchiveWP
      • Demo All Plugins
  • Services
    • Accessibility Audits
    • User Testing
    • Accessibility Remediation
    • VPAT & ACR Preparation
    • Accessibility Monitoring
    • Web Accessibility Training
    • Accessibility for Agencies
  • Company
    • About Us
    • Our Team
    • Industry Expertise
    • Accessibility Statement
    • Contact Sales
    • Become An Affiliate
  • Learn
    • Online Courses
    • Accessibility Meetup
    • Articles & Resources
    • Accessibility Craft Podcast
    • Upcoming Events
    • Office Hours
    • Custom Accessibility Training
    • Global Accessibility Awareness Day
  • Contact Sales
  • My Account
  • Support
  • Checkout
Home / ArchiveWP / Documentation / ArchiveWP Hooks Reference

ArchiveWP Hooks Reference

ArchiveWP exposes a small set of actions and filters for extending or customizing behavior. Hooks are organized below by area, along with their parameter signatures and file locations.

Actions

HookLocationParametersDescription
edawp_post_archivedincludes/Backend/Archive/ArchiveService.php:121int $post_id, string $original_post_typeFires after a post is moved into the archive post type.
edawp_post_restoredincludes/Backend/Archive/RestoreService.php:82int $post_id, string $original_post_typeFires after a post is restored to its original post type.
edawp_license_tabincludes/Backend/Settings/SettingsPage.php:128noneAllows additional markup inside the License tab of the settings screen.
edawp_first_time_configuration_tabincludes/Backend/Settings/SettingsPage.php:192noneInject content into the First-time Configuration tab.
post_EDAWP_SL_Plugin_Updater_setupincludes/Admin/Updates/EDAWP_SL_Plugin_Updater.php:67array $edd_plugin_dataRuns after the EDD updater object has been instantiated (legacy hook preserved for compatibility).

Filters

Admin & Settings

HookLocationParametersPurpose
archivewp_admin_notice_classesincludes/Backend/Backend.php:93string[] $notice_classesOverride the list of admin-notice classes initialised by the backend.

Frontend Helpers

HookLocationParametersPurpose
edawp_anchor_idincludes/Frontend/Helpers.php:57string $default_idCustomise the ID used by the skip-link anchor injected above main content.
edawp_archived_content_messageincludes/Frontend/Helpers.php:92string $messageFilter the disclaimer text pulled from settings/defaults.
archivewp_archived_content_message_classesincludes/Frontend/Helpers.php:187`arraystring $classes, string $original_classes`
archivewp_archived_content_date_markupincludes/Frontend/Helpers.php:156string $markup, int $post_id, string $formatted_date, int $timestampModify the date line appended to the disclaimer output.
edawp_archive_noticeincludes/Frontend/Frontend.php:110string $notice_html, int $post_id, `stringfalse $archived_date`

Filter Form

HookLocationParametersPurpose
edawp_archive_filters_max_visibleincludes/Common/ArchiveFilterForm.php:174int $visible_limit, array $argsOverride how many Archive Category checkboxes are shown before collapsing.
edawp_archive_filters_sorted_categoriesincludes/Common/ArchiveFilterForm.php:208WP_Term[] $categories, array $argsReorder the Archive Category list before rendering.

Archive Loop Rendering

HookLocationParametersPurpose
archivewp_category_pills_htmlincludes/Common/ArchivePostRenderer.php:120string $html, WP_Term[] $terms, int $post_idCustomise the markup for Archive Category badges.
archivewp_read_more_htmlincludes/Common/ArchivePostRenderer.php:172string $html, WP_Post $post, string $read_more_text, string $screen_reader_suffix, array $argsModify the accessible “Read More” link.
archivewp_post_dates_htmlincludes/Common/ArchivePostRenderer.php:412string $html, array $dates_meta, WP_Post $post, array $argsChange how the published/archived dates are rendered.
archivewp_excerpt_moreincludes/Common/ArchivePostRenderer.php:499string $more, WP_Post $post, array $argsFilter the ellipsis appended to generated excerpts.
archivewp_results_heading_htmlincludes/Common/ArchivePostRenderer.php:612string $heading_htmlOverride the screen-reader heading printed before the results list.

Archive Behavior

HookLocationParametersPurpose
edawp_archivable_post_typesincludes/Backend/Archive/ArchiveService.php:152string[] $post_typesFilter which post types are eligible for archiving.
edawp_preserve_taxonomy_relationshipsincludes/Backend/Archive/ArchiveTaxonomyMigrator.php:154bool $should_preserve, int $post_id, string $original_post_typeOverride whether taxonomy terms are migrated into Archive Categories.

Templates & Blocks

HookLocationParametersPurpose
edawp_template_cache_durationincludes/Common/BlockTemplates.php:166int $duration, string $slugAdjust how long custom block templates stay cached.
archivewp_default_disclaimer_textblocks/archive-disclaimer/archive-disclaimer-block.php:114string $default_textProvide alternate fallback text for the Archive Disclaimer block/editor.

Notes

  • Hook names use the edawp_ prefix for ArchiveWP-specific functionality and archivewp_ for front-end presentation helpers.
  • Unless otherwise stated, filters should return a value of the same type as the first parameter.
  • File paths in the tables are relative to the plugin root.

Primary Sidebar

ArchiveWP: Take control of your legacy content. Buy ArchiveWP Today.

Starter guide

  • Downloading and Installing ArchiveWP
  • How to Activate Your License Key
  • First-Time Configuration
  • ArchiveWP Settings
  • ArchiveWP Blocks
  • ArchiveWP Shortcodes

General Usage

  • How to Archive a Post
  • How to Archive Posts in Bulk
  • How to Control Which Taxonomy Terms Persist when Posts are Archived
  • How to Restore Archived Posts

FAQs

  • Is ArchiveWP accessible?
  • What languages is ArchiveWP available in?

Developer Docs

  • ArchiveWP Developer Guide
  • ArchiveWP Hooks Reference
  • ArchiveWP WP-CLI Commands

Easier, Faster Accessibility Testing

Equalize Digital Accessibility Checker gives you real-time accessibility feedback in the WordPress editor. Learn accessibility and make fixes earlier in the dev and content creation process. Full-site accessibility scanning without the per page fees.

Get Accessibility Checker

Footer

Equalize Digital Websites for Everyone

Your WordPress accessibility team. Accessibility plugins, rapid audits, and consulting to help you make your website usable by people of all abilities.

  • Facebook
  • GitHub
  • LinkedIn
  • YouTube

Company

  • About Equalize Digital
  • WordPress Accessibility Meetup
  • Accessibility Statement
  • Blog
  • Events
  • Contact Us

Services

  • Accessibility Audits
  • User Testing
  • Remediation
  • Ongoing Monitoring
  • VPAT & ACR Preparation
  • Accessibility Training
  • For Agencies
  • Website Development

Accessibility Checker

  • Features
  • Pricing
  • Documentation
  • How to Get Support
  • My Account
  • Affiliate Dashboard
  • Become an Affiliate

© 2026 Equalize Digital · Privacy Policy · Terms of Service · Software Terms & Refund Policy

International Association of Accessibility Professionals member

Small Business Accessibility Playbook

Learn how to make your website accessible.

Free Ebook: The Small Business Accessibility Playbook for WordPress by Equalize Digital and WP Buffs.

Get a copy of the free e-book via email.

This field is for validation purposes and should be left unchanged.
Name(Required)
This field is hidden when viewing the form
This field is hidden when viewing the form
Privacy Policy(Required)
This field is hidden when viewing the form