BackUpWordPress icon
Backup & Migration

BackUpWordPress hooks reference

  • By Tom Willmot
  • v3.15 New
  • Updated

BackUpWordPress 3.15 has 1 actions and 15 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 BackUpWordPress fires an action
add_action( 'backupwordpress_loaded', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value BackUpWordPress is about to use
add_filter( 'admin_memory_limit', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

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

  • classes/backup/class-backup-engine.php line 44 · used in 2 places
    /**
     * Raise the `memory_limit` and `max_execution time`
     */
    apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT );
  • classes/class-excludes.php line 147
    /**
     * Allow the default excludes list to be modified.
     */
    apply_filters( 'hmbkp_default_excludes', $excludes );
  • classes/backup/class-backup-engine-database-imysqldump.php line 51
    /**
     * Allow additional settings to be added.
     */
    apply_filters( 'hmbkp_imysqldump_command', array( 'default-character-set' => $this->get_charset(), 'hex-blob' => true, 'single-transaction' => defined( 'HMBKP_MYSQLDUMP_SINGLE_TRANSACTION' ) && HMBKP_MYSQLDUMP_SINGLE_TRANSACTION, ) );
  • classes/backup/class-backup-engine-database-mysqldump.php line 46
    /**
     * Allow the executable path to be set via a filter
     */
    apply_filters( 'hmbkp_mysqldump_executable_path', '' );
  • classes/backup/class-backup-engine-file-zip.php line 45
    /**
     * Allow the executable path to be set via a filter
     */
    apply_filters( 'hmbkp_zip_executable_path', '' );
  • whitelist-html/whitelist-html.php line 87
    /**
     * Filter a string to be output into HTML, allowing some tags
     */
    apply_filters( 'whitelist_html', $sanitized, $text, $allowedtags, $context );
  • classes/backup/class-backup.php line 80 · used in 2 places
    apply_filters( 'hmbkp_file_backup_engines', array( new Zip_File_Backup_Engine, new Zip_Archive_File_Backup_Engine, ) );
  • classes/class-plugin.php line 62
    do_action( 'backupwordpress_loaded' );
  • functions/interface.php line 344
    apply_filters( 'hmbkp_backups_number', $output, $number );
  • classes/backup/class-backup.php line 60
    apply_filters( 'hmbkp_database_backup_engines', array( new Mysqldump_Database_Backup_Engine, new IMysqldump_Database_Backup_Engine, ) );
  • classes/class-plugin.php line 267
    apply_filters( 'hmbkp_do_filter_wp_lang_dir', trailingslashit( WP_LANG_DIR ) . trailingslashit( $textdomain ) . $textdomain . '-' . $locale . '.mo' );
  • classes/class-plugin.php line 105
    apply_filters( 'hmbkp_filter_lang_dir', HMBKP_PLUGIN_SLUG . '/languages/' );
  • classes/class-email-service.php line 162
    apply_filters( 'hmbkp_from_email', get_bloginfo( 'admin_email' ) );
  • classes/class-plugin.php line 305
    apply_filters( 'hmbkp_generate_key', null );
  • backdrop/task.php line 58
    apply_filters( 'https_local_ssl_verify', false );
  • plugin_locale

    filter
    classes/class-plugin.php line 264
    apply_filters( 'plugin_locale', get_locale(), $textdomain );

Generated from BackUpWordPress'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: