<?php /** * Mageplaza * * NOTICE OF LICENSE * * This source file is subject to the Mageplaza.com license that is * available through the world-wide-web at this URL: * https://www.mageplaza.com/LICENSE.txt * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade this extension to newer * version in the future. * * @category Mageplaza * @package Mageplaza_FacebookPlugin * @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) * @license https://www.mageplaza.com/LICENSE.txt */ /** @var Mageplaza\FacebookPlugin\Block\Widget $block */ $block->getAllOptions(); if ($block->getHelperData()->isEnabled() && $block->getHelperData()->isEnabledFbPage()) : ?> <div class="fb-page" data-tabs="<?= /** @noEscape */ $block->getData('tabs') ?>" data-href="<?= /** @noEscape */ $block->getFacebookUrl() ?>" data-width="<?= /** @noEscape */ $block->getData('width') ?>" data-height="<?= /** @noEscape */ $block->getData('height') ?>" data-hide-cover="<?= /** @noEscape */ $block->getData('hide_cover') ?>" data-show-facepile="<?= /** @noEscape */ $block->getData('show_facepile') ?>" data-hide-cta="<?= /** @noEscape */ $block->getData('hide_cta') ?>" data-small-header="<?= /** @noEscape */ $block->getData('small_header') ?>" data-adapt-container-width="<?= /** @noEscape */ $block->getData('adapt_container_width') ?>"></div><?php endif; ?>