<?php
namespace Wpupgrader\WordPress\Plugins\GdprConsentLite\Blocks;

class Permissionbar extends AbstractConsentsBlock
{
    public function getLink($setting)
    {
        if (!$pageId = $this->getSetting($setting)) {
            return false;
        }
        return \get_page_link(\apply_filters('wpml_object_id', $pageId, 'page', true));
    }
}