<?php

namespace Codelight\GDPR\Components\AdvancedIntegration;

if ( ! defined( 'ABSPATH' ) ) exit;

/**
 * Handles putting together and rendering the privacy policy page
 *
 * Class AdvancedIntegration
 *
 * @package Codelight\GDPR\Components\AdvancedIntegration
 */
class AdvancedIntegration
{
    public function __construct()
    {
        add_filter('gdpr/admin/tabs', [$this, 'registerAdminTab'], 70);
    }

    public function registerAdminTab($tabs)
    {    
        $tabs['advanced-integration'] = new AdminTabAdvancedIntegration();
        return $tabs;
    }
}
