* @link https://www.fireplugins.com * @copyright Copyright © 2024 FirePlugins All Rights Reserved * @license GNU GPLv3 or later */ namespace FireBox\Core\Blocks\Generic; if (!defined('ABSPATH')) { exit; // Exit if accessed directly. } class Container extends \FireBox\Core\Blocks\Block { /** * Block identifier. * * @var string */ protected $name = 'container'; public function render_callback($atts, $content) { wp_enqueue_style('fb-block-container'); return $content; } /** * Registers block assets. * * @return void */ public function public_assets() { wp_register_style( 'fb-block-container', FBOX_MEDIA_PUBLIC_URL . 'css/blocks/container.css', [], FBOX_VERSION ); } }