HEX
Server: Apache
System: Linux flamboyant-gauss.194-164-62-186.plesk.page 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: gamesamphora (10001)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/amphoragames.com/httpdocs/wp-content/plugins/backwpup/src/Admin/Beacon/Beacon.php
<?php
declare(strict_types=1);

namespace WPMedia\BackWPup\Admin\Beacon;

use WPMedia\BackWPup\Common\AbstractRender;

class Beacon extends AbstractRender {

	/**
	 * Returns the link for corresponding section.
	 * TODO:: Add language option, we could have separate link for diff languages.
	 *
	 * @since  5.4
	 *
	 * @param string $doc_id Section identifier.
	 *
	 * @return string|array
	 */
	public function get_suggest( $doc_id ) {
		$suggest = [
			'include_extra_files' => [
				'url'   => 'https://backwpup.com/backwpup-5-4/',
				'title' => 'Welcome to BackWPup 5.4!',
			],
			'file_format'         => [
				'url'   => 'https://backwpup.com/backwpup-5-5/',
				'title' => 'BackWPup 5.5 is here!',
			],
		];

		return $suggest[ $doc_id ] ?? [];
	}
}