ArchiveMaster 1.13.5 has 17 actions and 27 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when ArchiveMaster fires an action
add_action( 'archm_sqlite_changed', function() {
// Your code runs here.
}, 10, 1 );
// Change a value ArchiveMaster is about to use
add_filter( 'archm_archive_cutoff_date', function( $cutoff, $range, $arg3 ) {
// Change $cutoff here.
return $cutoff;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_post_args", $args ); -
/** * Filters the query arguments used during an async request. */ apply_filters( "{$this->identifier}_query_args", $args ); -
/** * Filters the query URL used during an async request. */ apply_filters( "{$this->identifier}_query_url", $url ); -
/** * Should wp_die be used? */ apply_filters( "{$this->identifier}_wp_die", true ); -
/** * Filters the cutoff date for an archive range. Ranges registered without a * relative modifier (for example a fixed-date range) resolve their date here. */ apply_filters( 'archm_archive_cutoff_date', $cutoff, $range, (string) $custom_date ); -
/** * Filters the archive ranges available for selecting orders by age. */ apply_filters( 'archm_archive_ranges', $defaults ); -
apply_filters( 'archm_exclude_order_types_from_query', '', $schedule_date ); -
do_action( 'archm_sqlite_changed' ); -
do_action( 'archm_order_archived', $order_id ); -
apply_filters( "{$this->identifier}_cron_interval", 5 ); -
apply_filters( 'archm_extended_features_active', false ); -
do_action( 'archm_order_unarchived' ); -
apply_filters( 'archm_use_archivable_order_filter', false ); -
apply_filters( "{$this->identifier}_default_time_limit", 20 ); -
apply_filters( "{$this->identifier}_memory_exceeded", $return ); -
apply_filters( "{$this->identifier}_queue_lock_time", $lock_duration ); -
apply_filters( "{$this->identifier}_time_exceeded", $return ); -
do_action( 'archm_after_order_unarchive_delete', $order_ids ); -
do_action( 'archm_aggregate_order_analytics', $order, $order_products ); -
apply_filters( 'archm_archivable_order_count', count( $order_ids ), $order_ids, $request ); -
do_action( 'archm_archived_orders_permanently_deleted', $woocommerce_order_ids ); -
do_action( 'archm_before_order_delete', $main_order, $oder_products ); -
apply_filters( 'archm_filtered_archivable_order_count', count( $order_ids ), $order_ids ); -
apply_filters( 'archm_google_drive_connected', false ); -
do_action( 'archm_local_schema_created' ); -
apply_filters( 'archm_options', $options ); -
do_action( 'archm_orders_bulk_archived', $archived_orders ); -
do_action( 'archm_orders_bulk_unarchived', $unarchived_count ); -
apply_filters( 'archm_remote_db_credentials', [], $selected_database ); -
apply_filters( 'archm_remote_mysql_storage_types', [ 'rds' ] ); -
do_action( 'archm_remote_schema_created' ); -
apply_filters( 'archm_should_archive_order', true, $main_order ); -
do_action( 'archm_sqlite_data_deleted', $order_ids ); -
do_action( 'archm_sqlite_database_initialized' ); -
do_action( 'archm_sync_to_google_drive' ); -
apply_filters( 'https_local_ssl_verify', false ); -
do_action( 'update_option_archm_analytics_sync_enabled', $old_value, $new_value ); -
do_action( "woocommerce_order_status_{$order_data['status']}", $main_order_id, $order ); -
do_action( 'woocommerce_trash_order', $order_id ); -
apply_filters( 'wppool_inline_styles', $css ); -
apply_filters( 'wppool_plugins', $this->plugins ); -
apply_filters( 'wppool_popup_image', ( file_exists( __DIR__ . '/background-image.png' ) ? plugin_dir_url( __FILE__ ) . '/background-image.png' : '' ), $this->plugin_id ); -
apply_filters( 'wppool_sdk_load_assets', $load, $screen ); -
apply_filters( 'wppool_tags', array_merge( $this->tags, $this->custom_tags ) );
Generated from ArchiveMaster's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: