Server IP : 172.67.158.161 / Your IP : 3.149.24.98 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/home/giankuin/dangky.bnnagency.com/wp-content/themes/flatsome/inc/blocks/uxbuilder/ |
Upload File : |
<?php /** * Server-side rendering of the `flatsome/uxbuilder` block. * * @package Flatsome */ /** * Registers the `flatsome/uxbuilder` component and block. This block doesn't * need a render function because it only contains raw HTML and shortcodes. */ function flatsome_register_uxbuilder_block() { $path = __DIR__ . '/block.json'; $metadata = json_decode( file_get_contents( $path ), true ); register_block_type( $metadata['name'], $metadata ); } add_action( 'init', 'flatsome_register_uxbuilder_block' );