File: /home/confeduphaar/public_html/wp-content/plugins/essential-blocks/includes/Blocks/NftGallery.php
<?php
namespace EssentialBlocks\Blocks;
use EssentialBlocks\Core\Block;
class NftGallery extends Block
{
protected $frontend_scripts = [ 'essential-blocks-nft-gallery-frontend' ];
/**
* Unique name of the block.
*
* @return string
*/
public function get_name()
{
return 'nft-gallery';
}
/**
* Register all other scripts
*
* @return void
*/
public function register_scripts()
{
$this->assets_manager->register(
'nft-gallery-frontend',
$this->path() . '/frontend.js',
[ 'essential-blocks-vendor-bundle' ]
);
}
}