Revertix 1.0.3 has 9 actions and 31 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 Revertix fires an action
add_action( 'revertix_backup_created', function( $entry ) {
// Your code runs here.
}, 10, 1 );
// Change a value Revertix is about to use
add_filter( 'revertix_backup_file_areas', function( $areas, $context ) {
// Change $areas here.
return $areas;
}, 10, 2 );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
-
/** * Fires once a backup (manual, scheduled or safety) is stored and registered. * Revertix PRO uses it to copy the backup to remote storage. */ do_action( 'revertix_backup_created', $entry ); -
/** * Filter the selectable file areas. */ apply_filters( 'revertix_backup_file_areas', $areas, $context ); -
/** * Extra status for one backup row (e.g. remote copies, Revertix PRO). */ do_action( 'revertix_backup_item_status', $backup ); -
/** * Fires after the list of local backups (e.g. backups kept in remote storage, * Revertix PRO). */ do_action( 'revertix_backups_after_list' ); -
/** * Fires just before WordPress itself is switched to another version. */ do_action( 'revertix_before_core_rollback', $current, $version ); -
/** * Fires just before a wordpress.org-version rollback runs. Add-ons may take a * safety copy here (the free plugin relies on re-downloading the previous * release to undo a rollback). */ do_action( 'revertix_before_rollback', $type, $id, $current ); -
/** * Filter the WordPress core paths left alone during a restore. */ apply_filters( 'revertix_core_relatives', array( 'wp-admin/', 'wp-includes/', 'index.php', 'wp-activate.php', 'wp-blog-header.php', 'wp-comments-post.php', 'wp-config-sample.php', 'wp-cron.php', 'wp-links-opml.php', 'wp-load.php', 'wp-login.php', 'wp-mail.php', 'wp-settings.php', 'wp-signup.php', 'wp-trackback.php', 'xmlrpc.php', 'license.txt', 'readme.html', ) ); -
/** * Filter the path-segment names excluded everywhere (export + restore). */ apply_filters( 'revertix_excluded_names', array( '.git', '.svn', '.hg', '.bzr', 'node_modules', '.DS_Store', Revertix_Staging::PROTECT_MU, ) ); -
/** * Filter the list of excluded absolute path prefixes. */ apply_filters( 'revertix_excluded_prefixes', $excludes ); -
/** * Allow add-ons (e.g. Revertix PRO) to register their own job types. */ apply_filters( 'revertix_job_types', array( 'export' => 'Revertix_Export_Job', 'import' => 'Revertix_Import_Job', 'staging' => 'Revertix_Staging_Job', ) ); -
/** * Allow disabling the file log entirely (e.g. on read-only filesystems). */ apply_filters( 'revertix_log_enabled', true ); -
/** * Filter the extensions stored without compression. */ apply_filters( 'revertix_precompressed_extensions', array( 'jpg', 'jpeg', 'png', 'gif', 'webp', 'avif', 'heic', 'ico', 'mp4', 'm4v', 'mov', 'avi', 'mkv', 'webm', 'ogv', 'wmv', 'flv', 'mp3', 'm4a', 'aac', 'ogg', 'oga', 'opus', 'flac', 'wma', 'zip', 'gz', 'tgz', 'bz2', 'xz', '7z', 'rar', 'zst', 'woff', 'woff2', ) ); -
/** * Render the live remote-storage tiles (Revertix PRO). */ do_action( 'revertix_pro_render_storage_tiles' ); -
/** * Premium builds inject an inline star-rating form here (Revertix PRO). It * posts to the Pro review endpoint; the wordpress.org button below stays as * the review for the free plugin. */ do_action( 'revertix_promo_review_form' ); -
/** * Filter the files Revertix never syncs or restores. */ apply_filters( 'revertix_protected_relatives', array( 'wp-config.php', ) ); -
/** * Filter whether stray wpdb placeholder markers are repaired on export. */ apply_filters( 'revertix_repair_placeholder_escape', true ); -
/** * Filter the resolved scan roots/excludes. Add-ons that register extra areas * via revertix_backup_file_areas resolve them here (e.g. the Revertix PRO * add-on resolves its whole-root area). */ apply_filters( 'revertix_resolve_areas', $result, $selected, $areas ); -
/** * Filter the paths skipped during an import restore. Extends the shared * protected list (which already covers wp-config.php) with the plugin's own * directories, which a restore must not overwrite from under itself. */ apply_filters( 'revertix_restore_excludes', array_merge( self::protected_relatives(), array( 'wp-content/plugins/revertix/', 'wp-content/plugins/revertix-pro/', 'wp-content/uploads/revertix/', ) ) ); -
/** * Snapshots recorded for this item, shaped for the browser. This plugin * returns none - the separate Revertix PRO add-on provides user-managed * snapshots and fills the list in. */ apply_filters( 'revertix_rollback_snapshots_list', array(), $id ); -
/** * Filter whether .htaccess protects the storage directory. Hosts running nginx * in front of Apache should return true. */ apply_filters( 'revertix_server_uses_htaccess', $uses, $software ); -
/** * Let add-ons sanitise and store the settings keys they own (see pro_keys()). * Receives the outgoing settings and the raw input. */ apply_filters( 'revertix_settings_update_extra', $out, $input ); -
apply_filters( 'revertix_job_time_budget', 5.0 ); -
apply_filters( 'revertix_capability', 'manage_options' ); -
apply_filters( 'revertix_db_rows_per_chunk', 500 ); -
apply_filters( 'revertix_export_bytes_per_chunk', 32 * 1024 * 1024 ); -
apply_filters( 'revertix_export_files_per_chunk', 200 ); -
apply_filters( 'revertix_feature_unlocked', false, $feature ); -
apply_filters( 'revertix_import_restore_per_chunk', 200 ); -
apply_filters( 'revertix_import_sr_rows_per_chunk', 150 ); -
apply_filters( 'revertix_import_unzip_per_chunk', 300 ); -
apply_filters( 'revertix_staging_bar_color', '' ); -
apply_filters( 'revertix_staging_clone_rows_per_chunk', 2000 ); -
apply_filters( 'revertix_staging_copy_per_chunk', 200 ); -
apply_filters( 'revertix_staging_sr_rows_per_chunk', 150 );
Generated from Revertix'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: