X7ROOT File Manager
Current Path:
/home/freights/old.freightsoko.co.ke/wp-admin
home
/
freights
/
old.freightsoko.co.ke
/
wp-admin
/
??
..
??
.htaccess
(112 B)
??
about.php
(13.65 KB)
??
admin-ajax.php
(4.83 KB)
??
admin-footer.php
(2.76 KB)
??
admin-functions.php
(406 B)
??
admin-header.php
(8.2 KB)
??
admin-post.php
(1.63 KB)
??
admin.php
(11.85 KB)
??
app_102
??
app_152
??
app_227
??
async-upload.php
(4.58 KB)
??
authorize-application.php
(9.62 KB)
??
comment.php
(0 B)
??
credits.php
(3.55 KB)
??
css
??
custom-background.php
(416 B)
??
custom-header.php
(426 B)
??
customize.php
(10.48 KB)
??
edit-comments.php
(13.64 KB)
??
edit-form-advanced.php
(28.29 KB)
??
edit-form-blocks.php
(10.39 KB)
??
edit-form-comment.php
(7.97 KB)
??
edit-link-form.php
(6.15 KB)
??
edit-tag-form.php
(10.41 KB)
??
edit-tags.php
(21.93 KB)
??
edit.php
(18.77 KB)
??
erase-personal-data.php
(7.11 KB)
??
error_log
(221.07 KB)
??
export-personal-data.php
(7.08 KB)
??
export.php
(10.72 KB)
??
freedoms.php
(4.65 KB)
??
images
??
import.php
(7.35 KB)
??
includes
??
index.php
(7 KB)
??
install-helper.php
(5.89 KB)
??
js
??
link-add.php
(711 B)
??
link-manager.php
(4.12 KB)
??
link-parse-opml.php
(2.59 KB)
??
link.php
(2.67 KB)
??
load-scripts.php
(1.65 KB)
??
load-styles.php
(2.4 KB)
??
maint
??
media-new.php
(3.13 KB)
??
media-upload.php
(3.49 KB)
??
media.php
(5.47 KB)
??
menu-header.php
(9.68 KB)
??
menu.php
(14.6 KB)
??
moderation.php
(307 B)
??
ms-admin.php
(196 B)
??
ms-delete-site.php
(4.15 KB)
??
ms-edit.php
(216 B)
??
ms-options.php
(223 B)
??
ms-sites.php
(215 B)
??
ms-themes.php
(217 B)
??
ms-upgrade-network.php
(219 B)
??
ms-users.php
(215 B)
??
my-sites.php
(4.53 KB)
??
nav-menus.php
(46.57 KB)
??
network
??
network.php
(5.25 KB)
??
options-general.php
(14.63 KB)
??
options-head.php
(492 B)
??
options-media.php
(6.15 KB)
??
options-permalink.php
(19.19 KB)
??
options-privacy.php
(9.1 KB)
??
options-reading.php
(9.63 KB)
??
options-writing.php
(8.46 KB)
??
options.php
(12.47 KB)
??
plugin-install.php
(6.21 KB)
??
plugins.php
(28.5 KB)
??
post-new.php
(2.64 KB)
??
post.php
(9.87 KB)
??
press-this.php
(2.33 KB)
??
privacy-policy-guide.php
(3.51 KB)
??
privacy.php
(2.39 KB)
??
profile.php
(283 B)
??
revision.php
(5.4 KB)
??
setup-config.php
(16.61 KB)
??
site-health-info.php
(3.88 KB)
??
site-health.php
(8.51 KB)
??
term.php
(2.2 KB)
??
theme-install.php
(21.68 KB)
??
themes.php
(44.81 KB)
??
tools.php
(3.38 KB)
??
update-core.php
(43.45 KB)
??
update.php
(12.23 KB)
??
upgrade-functions.php
(341 B)
??
upgrade.php
(5.47 KB)
??
upload.php
(13.7 KB)
??
user-edit.php
(33.45 KB)
??
user-new.php
(23.41 KB)
??
users.php
(21 KB)
??
widgets-form-blocks.php
(2.35 KB)
??
widgets-form.php
(18.94 KB)
??
widgets.php
(1.06 KB)
Editing: widgets-form-blocks.php
<?php /** * The block-based widgets editor, for use in widgets.php. * * @package WordPress * @subpackage Administration */ // Don't load directly. if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } // Flag that we're loading the block editor. $current_screen = get_current_screen(); $current_screen->is_block_editor( true ); $block_editor_context = new WP_Block_Editor_Context(); $preload_paths = array( array( '/wp/v2/media', 'OPTIONS' ), '/wp/v2/sidebars?context=edit&per_page=-1', '/wp/v2/widgets?context=edit&per_page=-1&_embed=about', ); block_editor_rest_api_preload( $preload_paths, $block_editor_context ); $editor_settings = get_block_editor_settings( array_merge( get_legacy_widget_block_editor_settings(), array( 'styles' => get_block_editor_theme_styles() ) ), $block_editor_context ); // The widgets editor does not support the Block Directory, so don't load any of // its assets. This also prevents 'wp-editor' from being enqueued which we // cannot load in the widgets screen because many widget scripts rely on `wp.editor`. remove_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_block_directory_assets' ); wp_add_inline_script( 'wp-edit-widgets', sprintf( 'wp.domReady( function() { wp.editWidgets.initialize( "widgets-editor", %s ); } );', wp_json_encode( $editor_settings ) ) ); // Preload server-registered block schemas. wp_add_inline_script( 'wp-blocks', 'wp.blocks.unstable__bootstrapServerSideBlockDefinitions(' . wp_json_encode( get_block_editor_server_block_settings() ) . ');' ); wp_add_inline_script( 'wp-blocks', sprintf( 'wp.blocks.setCategories( %s );', wp_json_encode( get_block_categories( $block_editor_context ) ) ), 'after' ); wp_enqueue_script( 'wp-edit-widgets' ); wp_enqueue_script( 'admin-widgets' ); wp_enqueue_style( 'wp-edit-widgets' ); /** This action is documented in wp-admin/edit-form-blocks.php */ do_action( 'enqueue_block_editor_assets' ); /** This action is documented in wp-admin/widgets-form.php */ do_action( 'sidebar_admin_setup' ); require_once ABSPATH . 'wp-admin/admin-header.php'; /** This action is documented in wp-admin/widgets-form.php */ do_action( 'widgets_admin_page' ); ?> <div id="widgets-editor" class="blocks-widgets-container"></div> <?php /** This action is documented in wp-admin/widgets-form.php */ do_action( 'sidebar_admin_page' ); require_once ABSPATH . 'wp-admin/admin-footer.php';
Upload File
Create Folder