Duplicator icon
Backup & Migration

Duplicator hooks reference

  • By Syed Balkhi
  • v5.2.0 New
  • Updated

Duplicator 5.2.0 has 93 actions and 113 filters, read directly from its source code on Nov 17, 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.

functions.phpyour child theme
// Run your own code when Duplicator fires an action
add_action( 'duplicator_after_overwrite_params_created', function( $filePath, $params, $packageHash ) {
	// Your code runs here.
}, 10, 3 );

// Change a value Duplicator is about to use
add_filter( 'duplicator_cap_enabled', function( $result, $cap, $userHasCap ) {
	// Change $result here.
	return $result;
}, 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

  • src/Core/CapMng.php line 684 · used in 2 places
    /**
     * Filter to dynamically override any capability result.
     */
    apply_filters( 'duplicator_cap_enabled', $result, $cap, $userHasCap );
  • src/Core/CapMng.php line 347
    /**
     * Filter to customize how the current user is ensured to keep capabilities.
     * Core adds the user's role. Addons can override to add user ID instead.
     */
    apply_filters( 'duplicator_add_current_user_role', $capData, $user );
  • src/Core/Views/Notifications.php line 410
    /**
     * Allow changing notification data before it will be updated in database.
     */
    apply_filters( 'duplicator_admin_notifications_update_data', $data );
  • src/Package/PackageUtils.php line 1044
    /**
     * Fires after installer overwrite params file is created
     */
    do_action( 'duplicator_after_overwrite_params_created', $filePath, $params, $packageHash );
  • src/Core/Views/Notifications.php line 56
    /**
     * Filter to gate access to admin notifications. Addons can require a more
     * restrictive capability if needed.
     */
    apply_filters( 'duplicator_can_view_notifications', CapMng::can(CapMng::CAP_SETTINGS, false) );
  • src/Core/CapMng.php line 794
    /**
     * Filter to allow addons to register their capabilities
     */
    apply_filters( 'duplicator_capabilities_default', $caps );
  • src/Core/CapMng.php line 869
    /**
     * Filter to allow addons to register their capabilities info
     */
    apply_filters( 'duplicator_capabilities_info', $capsInfo );
  • src/Core/CapMng.php line 265
    /**
     * Filter to register additional protected capabilities. Addons that introduce
     * sensitive caps hook here to preserve user access during cap updates.
     */
    apply_filters( 'duplicator_capabilities_protected', $protected );
  • src/Libs/WpUtils/WpDbUtils.php line 328
    /**
     * Filter the list of database tables
     */
    apply_filters( 'duplicator_database_tables_list', $results );
  • src/Controllers/PackagesPageController.php line 685
    /**
     * Filter the target of the details page Backups tab
     */
    apply_filters( 'duplicator_details_page_backups_tab_url', self::getInstance()->getMenuLink(), $package );
  • src/Controllers/PackagesPageController.php line 667
    /**
     * Filter whether the details page shows the Download menu
     */
    apply_filters( 'duplicator_details_page_show_download', $result, $package );
  • src/Controllers/PackagesPageController.php line 647
    /**
     * Filter whether the details page shows the Transfer tab
     */
    apply_filters( 'duplicator_details_page_show_transfer', CapMng::can(CapMng::CAP_CREATE, false), $package );
  • src/Controllers/PackagesPageController.php line 629
    /**
     * Filter whether the details section shows the Transfer button
     */
    apply_filters( 'duplicator_details_section_show_transfer', CapMng::can(CapMng::CAP_STORAGE, false), $package );
  • addons/litebase/src/Controllers/WelcomePageController.php line 90
    /**
     * Filter to disable the onboarding redirect.
     */
    apply_filters( 'duplicator_disable_onboarding_redirect', false );
  • addons/dupcloudaddon/template/dupcloudaddon/configs/general_settings.php line 60
    /**
     * Action fired after the cloud storage settings section. Used by ProBase to
     * inject auto-activate logic after license activation.
     */
    do_action( 'duplicator_dupcloud_after_settings', $storage );
  • addons/dupcloudaddon/template/dupcloudaddon/connect/storage_auth.php line 44
    /**
     * Action to inject additional connect buttons before the token connection.
     */
    do_action( 'duplicator_dupcloud_connect_buttons', $storage );
  • src/Package/Create/PackInstaller.php line 473
    /**
     * Filters the list of plugin basenames to force-activate after restoration.
     */
    apply_filters( 'duplicator_force_activate_plugins', $default );
  • installer/dup-installer/src/Core/InstState.php line 821
    /**
     * Filter to allow addons to add extra data to migration data.
     */
    apply_filters( 'duplicator_installer_migrate_data_extra', [], $overwriteData );
  • src/Views/AdminNotices.php line 454
    /**
     * Whether WordPress Multisite is supported.
     */
    apply_filters( 'duplicator_multisite_supported', false );
  • src/Views/AdminNotices.php line 481
    /**
     * Filters the data passed to the multisite-unsupported notice template. The
     * button is rendered only when both buttonUrl and buttonLabel are non-empty.
     */
    apply_filters( 'duplicator_multisite_unsupported_notice', $defaults );
  • src/Controllers/PackagesPageController.php line 611
    /**
     * Filter whether the Backup screens offer Delete and the delete endpoint
     * accepts the Backup
     */
    apply_filters( 'duplicator_package_allow_user_delete', CapMng::can(CapMng::CAP_CREATE, false), $package );
  • template/admin_pages/packages/packages_table_head_status_icons.php line 75
    /**
     * Filter the Status column legend entries. Addons append their own; a missing
     * `section` key places the entry in the last section.
     */
    apply_filters( 'duplicator_package_flags_legend', $entries );
  • src/Views/PackageScreen.php line 558
    /**
     * Filter aggregated tooltip groups for the package flags cell.
     */
    apply_filters( 'duplicator_package_flags_tooltip_groups', $groups, $package );
  • src/Views/PackageScreen.php line 417
    /**
     * Filter the origin group of a package. Addons return the group for the
     * execution types they own and pass the incoming value through otherwise.
     */
    apply_filters( 'duplicator_package_origin_group', $origin, $package );
  • template/parts/packages/filters/section_filters.php line 29
    /**
     * Filter the Backup box sections, rendered sequentially inside the box.
     */
    apply_filters( 'duplicator_package_setup_filter_sections', [ 'filters' => [ 'label' => '', 'class' => 'filter-files-tab', 'callback' => function () use ($tplMng): void { $tplMng->render('parts/packages/filters/section_filters_subtab_filters_files'); }, ], ] );
  • src/Utils/UsageStatistics/Telemetry/TelemetrySnapshot.php line 74
    /**
     * Add variant-owned identity fields to the telemetry envelope.
     */
    apply_filters( 'duplicator_telemetry_identity', $identity );
  • src/Utils/UsageStatistics/Telemetry/TelemetrySnapshot.php line 49
    /**
     * Hook for addons to enrich the snapshot with their own counters.
     */
    apply_filters( 'duplicator_telemetry_snapshot', $base );
  • src/Utils/UsageStatistics/Telemetry/TelemetrySnapshotData.php line 175
    /**
     * Add provider-owned `storages_*_count` metrics.
     */
    apply_filters( 'duplicator_telemetry_storage_metrics', $result, $items );
  • addons/aireadyaddon/template/aireadyaddon/tools/ai.php line 27
    /**
     * Filter what an assistant can do with backups, one sentence per item with its
     * keywords in <b>.
     */
    apply_filters( 'duplicator_tools_ai_abilities', [ __('<b>List</b> recent backups with their name, date, status and size.', 'duplicator'), __('<b>Create</b> a backup of the whole site or only the database.', 'duplicator'), __('<b>Check the progress</b> of a backup until it completes.', 'duplicator'), __('<b>Cancel</b> a backup being created or transferred.', 'duplicator'), __('<b>Transfer</b> a complete backup to a storage, or back from one.'... );
  • addons/aireadyaddon/template/aireadyaddon/tools/ai.php line 43
    /**
     * Filter the groups of what an assistant can do, by key: a title and sentences
     * with <b> keywords
     */
    apply_filters( 'duplicator_tools_ai_ability_groups', array_merge( [ 'backups' => [ 'title' => __('Backups', 'duplicator'), 'items' => $backupAbilities, ], ], $entityAbilities, [ 'autotune' => [ 'title' => __('AutoTune', 'duplicator'), 'items' => [ __('<b>Check</b> AutoTune: the test backups it ran and the build settings it chose.', 'duplicator'), __('<b>Start</b> AutoTune when allowed in the settings, and <b>abort</b> it.', 'duplicator'), ], ], '... );
  • installer/dup-installer/src/Core/Deploy/Plugins/PluginItem.php line 400
    /**
     * Fires in uninstall_plugin() immediately before the plugin is uninstalled.
     */
    do_action( 'pre_uninstall_plugin', $this->slug, $uninstallable_plugins );
  • installer/dup-installer/src/Core/Deploy/Plugins/PluginItem.php line 463
    /**
     * Fires in uninstall_plugin() once the plugin has been uninstalled.
     */
    do_action( "uninstall_{$pluginFile}" );
  • src/Models/StaticGlobal.php line 51 · used in 3 places
    apply_filters( 'duplicator_default_uninstall_cleanup', true );
  • src/Core/Controllers/AbstractMenuPageController.php line 123 · used in 2 places
    do_action( "duplicator_after_render_page_{$this->pageSlug}", $this->getCurrentMenuSlugs(), $this->getCurrentInnerPage() );
  • src/Models/Settings/GeneralApiSettings.php line 260 · used in 2 places
    do_action( 'duplicator_after_update_crypt_setting' );
  • src/Core/Controllers/AbstractMenuPageController.php line 100 · used in 2 places
    do_action( "duplicator_before_render_page_{$this->pageSlug}", $this->getCurrentMenuSlugs(), $this->getCurrentInnerPage() );
  • src/Models/Settings/GeneralApiSettings.php line 258 · used in 2 places
    do_action( 'duplicator_before_update_crypt_setting' );
  • template/admin_pages/packages/details/parts/database_card.php line 41 · used in 2 places
    do_action( 'duplicator_details_page_count_after', $package, 'tables' );
  • template/admin_pages/packages/row_parts/details_package.php line 138 · used in 2 places
    do_action( 'duplicator_details_section_count_before', $package, 'files' );
  • installer/dup-installer/ctrls/classes/class.ctrl.s0.php line 49 · used in 2 places
    apply_filters( 'duplicator_installer_license_string', 'unknown' );
  • src/Core/MigrationMng.php line 679 · used in 2 places
    apply_filters( 'duplicator_is_protected_path', false, $migrationData->archivePath );
  • src/Package/TraitPackagePersistence.php line 227 · used in 2 places
    do_action( 'duplicator_package_after_delete', $this->ID );
  • src/Package/AbstractPackage.php line 529 · used in 2 places
    do_action( 'duplicator_package_after_set_status', $this, $status );
  • template/admin_pages/packages/package_row_complete.php line 45 · used in 2 places
    apply_filters( 'duplicator_package_row_classes', $rowClasses, $package );
  • src/Models/Storages/Local/DefaultLocalStorage.php line 271 · used in 2 places
    do_action( 'duplicator_packages_after_bulk_delete', $ids );
  • src/Core/Controllers/AbstractMenuPageController.php line 158 · used in 2 places
    apply_filters( "duplicator_page_title_{$this->pageSlug}", $this->pageTitle );
  • src/Core/Controllers/AbstractMenuPageController.php line 116 · used in 2 places
    do_action( "duplicator_render_page_content_{$this->pageSlug}", $this->getCurrentMenuSlugs(), $this->getCurrentInnerPage() );
  • src/Core/Upgrade/UpgradePlugin.php line 41 · used in 2 places
    apply_filters( 'duplicator_stored_version', $raw );
  • src/Models/TemplateEntity.php line 602 · used in 2 places
    do_action( 'duplicator_template_after_set_from_post', $this, $input );
  • src/Utils/CachesPurge/CachesPurge.php line 204
    do_action( 'autoptimize_action_cachepurged' );
  • src/Utils/CachesPurge/CachesPurge.php line 466
    do_action( 'bs_cache_purge_cache' );
  • src/Utils/CachesPurge/CachesPurge.php line 211
    do_action( 'ce_clear_cache' );
  • src/Core/Addons/AddonsManager.php line 120
    do_action( 'duplicator_addons_loaded' );
  • src/Ajax/ServicesNotifications.php line 99
    apply_filters( 'duplicator_admin_notice_dismiss', null, $noticeToDismiss );
  • src/Views/AdminNotices.php line 107
    apply_filters( 'duplicator_admin_notices', $notices );
  • src/Core/Upgrade/UpgradePlugin.php line 230
    do_action( 'duplicator_after_activation', $oldVariant, $oldVersion, $newVariant, $newVersion );
  • src/Core/Bootstrap.php line 533
    do_action( 'duplicator_after_deactivation' );
  • src/Core/MigrationMng.php line 360
    do_action( 'duplicator_after_migration_settings_update', $migrationData );
  • src/Package/PackageUtils.php line 290
    do_action( 'duplicator_after_restore_flags_update', $migrationData );
  • src/Core/Controllers/AbstractSinglePageController.php line 133
    do_action( "duplicator_after_run_actions_{$this->pageSlug}", $isActionCalled );
  • src/Package/TraitPackageScan.php line 201
    do_action( 'duplicator_after_scan_report', $this, $report );
  • src/Models/Storages/AbstractStorageEntity.php line 2011
    do_action( 'duplicator_after_storage_create', $id );
  • src/Models/Storages/AbstractStorageEntity.php line 2053
    do_action( 'duplicator_after_storage_delete', $id );
  • template/admin_pages/storages/storage_list.php line 298
    do_action( 'duplicator_after_storage_list' );
  • src/Package/Create/PackInstaller.php line 444
    apply_filters( 'duplicator_archive_config', $ac, $this->Package );
  • src/Package/TraitPackageBuild.php line 58
    do_action( 'duplicator_backup_build_step', $it->current(), $this, [$it, 'stop'] );
  • src/Models/ActivityLog/LogEventBackupCreate.php line 167
    apply_filters( 'duplicator_backup_create_log_data', $this->data, $package );
  • src/Models/ActivityLog/LogEventBackupCreate.php line 807
    do_action( 'duplicator_backup_create_log_extra_fields', $this->data );
  • template/parts/packages/filters/section_installer.php line 42
    do_action( 'duplicator_backup_installer_section_before', $template );
  • template/admin_pages/packages/package_create_button.php line 50
    do_action( 'duplicator_backups_page_header_after' );
  • template/admin_pages/packages/main.php line 46
    do_action( 'duplicator_before_packages_table_action' );
  • src/Core/Controllers/AbstractSinglePageController.php line 119
    do_action( "duplicator_before_run_actions_{$this->pageSlug}" );
  • src/Package/TraitPackageScan.php line 55
    do_action( 'duplicator_before_scan_report', $this );
  • src/Package/TraitPackageBuild.php line 81
    do_action( 'duplicator_build_before_start', $this );
  • src/Package/TraitPackageBuild.php line 229
    do_action( 'duplicator_build_completed', $this );
  • src/Package/Database/DatabasePkg.php line 593
    do_action( 'duplicator_build_database_before_start', $this->Package );
  • src/Package/Database/DatabasePkg.php line 935
    do_action( 'duplicator_build_database_completed', $this->Package );
  • src/Package/Database/DatabasePkg.php line 608
    do_action( 'duplicator_build_database_start', $this->Package );
  • src/Package/TraitPackageBuild.php line 383
    apply_filters( 'duplicator_build_expected_filecount', $expected_filecount, $this );
  • src/Package/TraitPackageBuild.php line 682
    do_action( 'duplicator_build_fail', $this, $previousStatus, $exception );
  • src/Package/Create/BuildStepIterator.php line 76
    apply_filters( 'duplicator_build_next_step', $current, $this->package );
  • src/Package/BuildRequirements.php line 134
    apply_filters( 'duplicator_build_requirement_checks', $checks );
  • src/Package/TraitPackageBuild.php line 105
    do_action( 'duplicator_build_start', $this );
  • src/Utils/ActivityLog/SettingsChangeDescriptor.php line 93
    apply_filters( 'duplicator_capability_labels', $labels );
  • src/Core/CapMng.php line 226
    apply_filters( 'duplicator_capability_update_users', $this->capabilities[$cap], $data, $cap );
  • define.php line 66
    apply_filters( 'duplicator_certificate_path', DUPLICATOR____PATH . '/src/Libs/Certificates/cacert.pem' );
  • src/Package/Create/BuildComponents.php line 498
    apply_filters( 'duplicator_component_action_from_components', '', $components );
  • src/Package/Create/BuildComponents.php line 458
    apply_filters( 'duplicator_component_action_icon', '', $componentAction );
  • src/Package/Create/BuildComponents.php line 474
    apply_filters( 'duplicator_component_action_label', '', $componentAction );
  • src/Package/Create/BuildComponents.php line 555
    apply_filters( 'duplicator_component_preset_actions', $actions );
  • src/Core/Bootstrap.php line 292
    do_action( 'duplicator_daily_actions' );
  • src/Views/DashboardWidget.php line 68
    do_action( 'duplicator_dashboard_widget_after_sections' );
  • template/parts/DashboardWidget/sections-section.php line 52
    do_action( 'duplicator_dashboard_widget_sections' );
  • src/Package/Database/DatabasePkg.php line 951
    apply_filters( 'duplicator_database_dumped_tables_to_discard', [], $this->Package );
  • src/Package/Database/DatabasePkg.php line 665
    apply_filters( 'duplicator_database_tables_to_dump', $tablesToProcess, $this->Package );
  • src/Package/Database/DatabasePkg.php line 645
    apply_filters( 'duplicator_database_track_table_checksums', false, $this->Package );
  • src/Utils/Settings/CoreSettingsDefaults.php line 45
    apply_filters( 'duplicator_default_usage_tracking', false );
  • src/Package/AbstractPackageDeployer.php line 1561
    apply_filters( 'duplicator_deploy_folders_to_check', $result );
  • src/Package/AbstractPackageDeployer.php line 1003
    apply_filters( 'duplicator_deploy_overwrite_params', $params );
  • src/Package/AbstractPackageDeployer.php line 1100
    apply_filters( 'duplicator_deploy_same_server_only', false );
  • src/Libs/Snap/SnapServer.php line 37
    apply_filters( 'duplicator_detected_web_server', $detected );
  • addons/dupcloudaddon/src/Utils/DupCloudClient.php line 222
    do_action( 'duplicator_dup_cloud_rate_limit_error', $url, $retryAfter );
  • src/Models/DynamicGlobalEntity.php line 519
    apply_filters( 'duplicator_dynamic_data_skip_reset', [self::PACKAGE_CHECK_TS_KEY] );
  • src/Models/DynamicGlobalEntity.php line 546
    apply_filters( 'duplicator_dynamic_skip_data_export', [ self::PACKAGE_CHECK_TS_KEY, ] );
  • template/mail/email_summary.php line 171
    do_action( 'duplicator_email_summary_extra_sections' );
  • src/Utils/Email/EmailSummary.php line 74
    apply_filters( 'duplicator_email_summary_new_entity_messages', $newEntityMessages );
  • src/Core/REST/RESTManager.php line 49
    apply_filters( 'duplicator_endpoints', $basicRestPoints );
  • src/Package/Database/DatabasePkg.php line 188
    apply_filters( 'duplicator_force_database_prefix_filter', false );
  • src/Libs/Snap/SnapUtil.php line 1069
    apply_filters( 'duplicator_ftp_connect_exists', self::functionExists('ftp_connect') );
  • src/Package/Archive/PackageArchive.php line 939
    apply_filters( 'duplicator_global_dir_filters', $dirFiltersLits );
  • src/Package/Archive/PackageArchive.php line 964
    apply_filters( 'duplicator_global_file_filters', $fileFiltersLits );
  • src/Utils/ManagedHost/HostGoDaddy.php line 29
    apply_filters( 'duplicator_godaddy_host_check', file_exists(WPMU_PLUGIN_DIR . '/gd-system-plugin.php') );
  • src/Utils/Help/Help.php line 277
    apply_filters( 'duplicator_help_page_context', '', $page, $innerPage );
  • src/Utils/Help/Help.php line 273
    apply_filters( 'duplicator_help_tools_context', 'tools', $tab, $innerPage );
  • src/Utils/ManagedHost/HostFlywheel.php line 26
    apply_filters( 'duplicator_host_check', file_exists(self::getFlywheelMainPluginPaht()), self::getIdentifier() );
  • template/admin_pages/settings/migrate_settings/import.php line 52
    do_action( 'duplicator_import_settings_checkboxes' );
  • src/Models/Storages/Local/DefaultLocalStorage.php line 349
    apply_filters( 'duplicator_index_protected_paths', $paths );
  • installer/dup-installer/src/Core/Deploy/Database/DbCleanup.php line 76
    do_action( 'duplicator_installer_after_cleanup_packages' );
  • installer/dup-installer/templates/default/pages-parts/head/header-main.php line 41
    do_action( 'duplicator_installer_after_header_main' );
  • src/Package/Create/PackInstaller.php line 548
    apply_filters( 'duplicator_installer_extra_files', $result, $this->Package );
  • src/Package/Create/PackInstaller.php line 1061
    do_action( 'duplicator_installer_extra_files_indexed', $indexManager, $this->Package );
  • src/Package/Create/PackInstaller.php line 1406
    apply_filters( 'duplicator_installer_include_static_paths', true, $this->Package );
  • installer/dup-installer/src/Core/Params/Descriptors/ParamDescConfigs.php line 545
    apply_filters( 'duplicator_installer_install_type_accepted_values', $acceptValues, $archiveConfig, $overwriteData );
  • installer/dup-installer/src/Core/Params/Descriptors/ParamDescConfigs.php line 602
    apply_filters( 'duplicator_installer_install_type_note', $note, $option );
  • src/Libs/Shell/ShellZipUtils.php line 92
    apply_filters( 'duplicator_is_shellzip_available', Shell::test() );
  • src/Utils/ManagedHost/HostLiquidweb.php line 24
    apply_filters( 'duplicator_liquidweb_host_check', file_exists(WPMU_PLUGIN_DIR . '/liquid-web.php') );
  • src/Utils/Lock/LockUtil.php line 75
    apply_filters( 'duplicator_lock_engines', [ new SqlLock(), new FileLock(), ] );
  • src/Package/ClientSideKick.php line 462
    apply_filters( 'duplicator_loopback_probe_marker_present', $isPresent, $code );
  • src/Package/PackageUtils.php line 234
    do_action( 'duplicator_manual_transfer_start', $package, $transferOffset );
  • src/Core/Controllers/AbstractMenuPageController.php line 159
    apply_filters( "duplicator_menu_label_{$this->pageSlug}", $this->menuLabel );
  • src/Core/Controllers/ControllersManager.php line 297
    apply_filters( 'duplicator_menu_pages', $basicMenuPages );
  • src/Package/NameFormat.php line 144
    apply_filters( 'duplicator_name_format_result', $parsed );
  • src/Package/NameFormat.php line 169
    apply_filters( 'duplicator_name_format_tags', $tags );
  • src/Package/Create/PackInstaller.php line 442
    apply_filters( 'duplicator_overwrite_params_data', $this->getPrefillParams() );
  • src/Package/AbstractPackage.php line 521
    do_action( 'duplicator_package_before_set_status', $this, $status );
  • src/Package/Runner.php line 317
    do_action( 'duplicator_package_before_watchdog_checks', $active_package );
  • template/parts/packages/filters/package_components.php line 81
    do_action( 'duplicator_package_components_after_presets' );
  • src/Package/Create/BuildComponents.php line 574
    apply_filters( 'duplicator_package_components_from_input', $components, $input );
  • template/admin_pages/packages/row_parts/details_package.php line 76
    do_action( 'duplicator_package_detail_actions', $package );
  • template/admin_pages/packages/details/parts/prefills_card.php line 60
    do_action( 'duplicator_package_detail_installer_rows', $package );
  • template/admin_pages/packages/row_parts/falgs_cell.php line 25
    do_action( 'duplicator_package_flags_icons', $package );
  • template/admin_pages/packages/setup/setup_page.php line 30
    do_action( 'duplicator_package_general_area_after', $manual_template );
  • src/Package/TraitPackageTemplate.php line 76
    do_action( 'duplicator_package_set_from_template', $this, $template );
  • template/parts/packages/filters/section_filters_incons.php line 52
    do_action( 'duplicator_package_setup_status_icons', $template );
  • src/Package/TraitPackageStorage.php line 431
    do_action( 'duplicator_package_transfer_completed', $this );
  • src/Package/PackageUtils.php line 618
    apply_filters( 'duplicator_package_type_string', $typeString, $package );
  • src/Package/TraitPackagePersistence.php line 624
    apply_filters( 'duplicator_package_update_flags', $this->flags, $this );
  • template/admin_pages/packages/packages_scripts.php line 535
    do_action( 'duplicator_packages_page_scripts' );
  • template/admin_pages/packages/toolbar.php line 52
    do_action( 'duplicator_packages_toolbar_buttons' );
  • src/Core/Controllers/AbstractSinglePageController.php line 249
    apply_filters( "duplicator_page_actions_{$this->pageSlug}", [] );
  • src/Core/Controllers/AbstractSinglePageController.php line 198
    apply_filters( "duplicator_page_template_data_{$this->pageSlug}", $tplMng->getGlobalData() );
  • src/Utils/ManagedHost/HostPantheon.php line 24
    apply_filters( 'duplicator_pantheon_host_check', file_exists(WPMU_PLUGIN_DIR . '/pantheon.php') );
  • src/Package/TraitPackageScan.php line 108
    apply_filters( 'duplicator_privileges_to_show_create_func', $privileges_to_show_create_func );
  • template/admin_pages/storages/storage_list.php line 146
    do_action( 'duplicator_pro_after_storage_form' );
  • src/Models/ActivityLog/LogUtils.php line 33
    do_action( 'duplicator_register_activity_log_types' );
  • src/Models/Storages/StoragesUtil.php line 235
    do_action( 'duplicator_register_storage_types' );
  • src/Core/Bootstrap.php line 488
    do_action( 'duplicator_register_types' );
  • src/Core/Options/Requirements/RequirementDefs.php line 239
    apply_filters( 'duplicator_requirement_php_64bit', PHP_INT_SIZE >= 8 );
  • src/Utils/AsyncSetupActions.php line 91
    apply_filters( 'duplicator_run_server_detection', true );
  • src/Package/Runner.php line 254
    do_action( 'duplicator_runner_pre_process' );
  • template/admin_pages/packages/scan/main.php line 27
    do_action( 'duplicator_scan_header' );
  • src/Package/TraitPackageScan.php line 170
    apply_filters( 'duplicator_scan_report', $report, $this );
  • template/admin_pages/packages/scan/items/setup/wordpress.php line 94
    do_action( 'duplicator_scan_setup_wordpress_multisite' );
  • template/admin_pages/packages/scan/items/setup/system.php line 34
    do_action( 'duplicator_scan_system_checks' );
  • src/Models/ActivityLog/LogEventSettingsChange.php line 266
    apply_filters( 'duplicator_settings_change_sub_type_labels', $labels );
  • src/Utils/Settings/MigrateSettings.php line 56
    apply_filters( 'duplicator_settings_export_data', $exportData );
  • template/admin_pages/settings/general/general.php line 22
    do_action( 'duplicator_settings_general_before' );
  • src/Utils/Settings/MigrateSettings.php line 162
    do_action( 'duplicator_settings_import_data', $import_data, $version, $storage_map, $template_map, $opts );
  • src/Utils/Settings/MigrateSettings.php line 151
    apply_filters( 'duplicator_settings_import_opts', $opts );
  • src/Models/Storages/AbstractStorageEntity.php line 2051
    do_action( 'duplicator_storage_after_delete_cleanup', $id );
  • template/parts/storage/select_list.php line 111
    apply_filters( 'duplicator_storage_select_list_type_suffix', '', $storage );
  • src/Models/Storages/AbstractStorageEntity.php line 585
    apply_filters( 'duplicator_storage_type_class', $class, $type, $data );
  • src/Core/Upgrade/UpgradePlugin.php line 92
    apply_filters( 'duplicator_stored_install_info', $installInfo );
  • src/Core/Controllers/AbstractMenuPageController.php line 355
    apply_filters( "duplicator_sub_level_default_tab_{$this->pageSlug}", false, $parent );
  • src/Core/Controllers/AbstractMenuPageController.php line 213
    apply_filters( "duplicator_sub_menu_items_{$this->pageSlug}", [] );
  • src/Utils/Support/SupportToolkit.php line 29
    apply_filters( 'duplicator_support_url', 'https://wordpress.org/support/plugin/duplicator/' );
  • src/Utils/UsageStatistics/Telemetry/TelemetryEvents.php line 147
    apply_filters( 'duplicator_telemetry_event_fields', $fields, $eventType, $eventSubType, $context );
  • src/Utils/UsageStatistics/Telemetry/TelemetryClient.php line 45
    apply_filters( 'duplicator_telemetry_is_eligible', true );
  • src/Utils/UsageStatistics/StatsBootstrap.php line 157
    do_action( 'duplicator_telemetry_package_build', $package, $action );
  • src/Core/Views/TplMng.php line 504
    apply_filters( 'duplicator_template_file', $this->mainFolder . $slugTpl . '.php', $slugTpl );
  • addons/aireadyaddon/template/aireadyaddon/tools/ai.php line 129
    do_action( 'duplicator_tools_ai_abilities_group_end', (string) $groupKey );
  • addons/aireadyaddon/template/aireadyaddon/tools/ai.php line 137
    do_action( 'duplicator_tools_ai_abilities_list_end' );
  • addons/aireadyaddon/template/aireadyaddon/tools/ai.php line 19
    do_action( 'duplicator_tools_ai_cta' );
  • src/Package/Storage/UploadInfo.php line 471
    do_action( 'duplicator_transfer_cancelled', $this );
  • src/Package/Storage/UploadInfo.php line 494
    do_action( 'duplicator_transfer_failed', $this, $failure );
  • src/Core/Upgrade/UpgradePlugin.php line 71
    apply_filters( 'duplicator_undefined_default_variant', '' );
  • src/Models/Settings/StorageApiSettings.php line 157
    do_action( 'duplicator_update_global_storage_settings' );
  • src/Core/Upgrade/UpgradePlugin.php line 226
    do_action( 'duplicator_upgrade', $oldVariant, $oldVersion, $newVariant, $newVersion );
  • src/Core/Upgrade/UpgradeFunctions.php line 457
    apply_filters( 'duplicator_upgrade_entity_classes', $listEntityClasses );
  • src/Models/Storages/AbstractStorageEntity.php line 1034
    do_action( 'duplicator_upload_complete', $upload_info );
  • src/Package/TraitPackageStorage.php line 70
    apply_filters( 'duplicator_validate_upload_info_data', $errors, $this, $storageId, $isDownload );
  • src/Utils/ManagedHost/HostWordpressCom.php line 22
    apply_filters( 'duplicator_wordpress_host_check', file_exists(WPMU_PLUGIN_DIR . '/wpcomsh-loader.php') );
  • src/Utils/ManagedHost/HostWPEngine.php line 29
    apply_filters( 'duplicator_wp_engine_host_check', (strpos($serverinfo, "WPENGINE_ACCOUNT") !== false) );
  • src/Core/CapMng.php line 707
    apply_filters( 'editable_roles', wp_roles()->roles );
  • src/Libs/Snap/SnapWP.php line 99
    apply_filters( 'enable_maintenance_mode', true, $upgrading );
  • src/Utils/CachesPurge/CachesPurge.php line 190
    do_action( 'litespeed_purge_all' );
  • src/Utils/CachesPurge/CachesPurge.php line 275
    do_action( 'rt_nginx_helper_purge_all' );
  • src/Utils/CachesPurge/CachesPurge.php line 197
    do_action( 'swcfpc_purge_everything' );
  • src/Utils/CachesPurge/CachesPurge.php line 241
    do_action( 'wphb_clear_page_cache' );
  • src/Utils/CachesPurge/CachesPurge.php line 248
    do_action( 'wpo_cache_flush' );

Generated from Duplicator's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: