'; $output .= ''; $output .= '
Download'; $output .= 'Restore'; // phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions -- base64_encode() used for http encoding compatible. $output .= '
'; $output .= ''; } ?>

'; $output .= '
Download
'; $output .= ''; } ?>

', ' ' ); // NOSONAR - noopener - open safe. ?>
id ); static::render_backup_options( $website->id ); ?>
get_website_by_id( $websiteid ); if ( empty( $website ) ) { return; } MainWP_Manage_Sites::show_backups( $website ); } /** * Render Backup Options. * * @param mixed $websiteid Child Site ID. * * @return string Backup Options. * * @uses \MainWP\Dashboard\MainWP_DB_Backup::get_website_backup_settings() * @uses \MainWP\Dashboard\MainWP_DB::get_website_by_id() */ public static function render_backup_options( $websiteid ) { $website = MainWP_DB::instance()->get_website_by_id( $websiteid ); if ( empty( $website ) ) { return; } ?>

$website->id ) ); ?> get_website_backup_settings( $website->id ); $archiveFormat = $backupSettings->archiveFormat; $useGlobal = ( 'global' === $archiveFormat ); ?>