<?php
/**
 * @var WP_Term $auction
 */

use auctionforge\inc\controllers\AuctionsAPI;
use auctionforge\inc\Debug;
use auctionforge\inc\helpers\SettingsHelper;

if (0 && $auction instanceof WP_Term && !empty($_COOKIE[AuctionsAPI::APP_FIREBASE_COOKIE])) {
$auctionId = SettingsHelper::getTermOption($auction->term_id, 'auction_id');
?>
<div id="auction-follow-wrapper" class="bp-header__btn-group bp-from">
    <div class="bp-form-group">
        <button id="auction-follow" data-auction-id="<?= $auctionId ?>" class="bp-btn bp-btn-login bp-header__btn auction-follow-action">
            <?= __("Follow the auction", "auctionforge") ?>
        </button>
    </div>
</div>
<?php } ?>