X7ROOT File Manager
Current Path:
/home/bloomi9/realworks1.com/landsale-ebook/wp-includes
home
/
bloomi9
/
realworks1.com
/
landsale-ebook
/
wp-includes
/
📁
..
📄
.htaccess
(206 B)
📁
ID3
📁
IXR
📁
PHPMailer
📁
Requests
📁
SimplePie
📁
Text
📄
admin-bar.php
(30.96 KB)
📁
assets
📄
atomlib.php
(11.59 KB)
📄
author-template.php
(16.62 KB)
📁
block-patterns
📄
block-patterns.php
(1.42 KB)
📁
blocks
📄
blocks.php
(25.26 KB)
📄
bookmark-template.php
(12.22 KB)
📄
bookmark.php
(14.78 KB)
📄
cache-compat.php
(1.02 KB)
📄
cache.php
(9.28 KB)
📄
canonical.php
(30.65 KB)
📄
capabilities.php
(33.98 KB)
📄
category-template.php
(53.63 KB)
📄
category.php
(12.41 KB)
📁
certificates
📄
class-IXR.php
(2.48 KB)
📄
class-feed.php
(529 B)
📄
class-http.php
(38.79 KB)
📄
class-json.php
(42.43 KB)
📄
class-oembed.php
(407 B)
📄
class-phpass.php
(7.15 KB)
📄
class-phpmailer.php
(664 B)
📄
class-pop3.php
(20.35 KB)
📄
class-requests.php
(29.14 KB)
📄
class-simplepie.php
(94.01 KB)
📄
class-smtp.php
(452 B)
📄
class-snoopy.php
(36.83 KB)
📄
class-walker-category-dropdown.php
(2.08 KB)
📄
class-walker-category.php
(7.69 KB)
📄
class-walker-comment.php
(13.37 KB)
📄
class-walker-nav-menu.php
(8.45 KB)
📄
class-walker-page-dropdown.php
(2.25 KB)
📄
class-walker-page.php
(6.88 KB)
📄
class-wp-admin-bar.php
(16.46 KB)
📄
class-wp-ajax-response.php
(5.12 KB)
📄
class-wp-block-list.php
(4.37 KB)
📄
class-wp-block-parser.php
(14.86 KB)
📄
class-wp-block-pattern-categories-registry.php
(4.08 KB)
📄
class-wp-block-patterns-registry.php
(4.37 KB)
📄
class-wp-block-styles-registry.php
(4.62 KB)
📄
class-wp-block-type-registry.php
(4.69 KB)
📄
class-wp-block-type.php
(5.88 KB)
📄
class-wp-block.php
(5.97 KB)
📄
class-wp-comment-query.php
(43.58 KB)
📄
class-wp-comment.php
(8.83 KB)
📄
class-wp-customize-control.php
(24.91 KB)
📄
class-wp-customize-manager.php
(196.37 KB)
📄
class-wp-customize-nav-menus.php
(55.47 KB)
📄
class-wp-customize-panel.php
(10.16 KB)
📄
class-wp-customize-section.php
(10.72 KB)
📄
class-wp-customize-setting.php
(29.03 KB)
📄
class-wp-customize-widgets.php
(65.46 KB)
📄
class-wp-date-query.php
(34.07 KB)
📄
class-wp-dependency.php
(2.45 KB)
📄
class-wp-editor.php
(68.93 KB)
📄
class-wp-embed.php
(15.42 KB)
📄
class-wp-error.php
(4.84 KB)
📄
class-wp-fatal-error-handler.php
(7.37 KB)
📄
class-wp-feed-cache-transient.php
(2.5 KB)
📄
class-wp-feed-cache.php
(749 B)
📄
class-wp-hook.php
(13.72 KB)
📄
class-wp-http-cookie.php
(7.02 KB)
📄
class-wp-http-curl.php
(12.06 KB)
📄
class-wp-http-encoding.php
(6.4 KB)
📄
class-wp-http-ixr-client.php
(3.39 KB)
📄
class-wp-http-proxy.php
(5.73 KB)
📄
class-wp-http-requests-hooks.php
(1.92 KB)
📄
class-wp-http-requests-response.php
(4.24 KB)
📄
class-wp-http-response.php
(2.88 KB)
📄
class-wp-http-streams.php
(15.73 KB)
📄
class-wp-image-editor-gd.php
(13.81 KB)
📄
class-wp-image-editor-imagick.php
(23.32 KB)
📄
class-wp-image-editor.php
(13.77 KB)
📄
class-wp-list-util.php
(6.46 KB)
📄
class-wp-locale-switcher.php
(4.9 KB)
📄
class-wp-locale.php
(13.59 KB)
📄
class-wp-matchesmapregex.php
(1.76 KB)
📄
class-wp-meta-query.php
(27.19 KB)
📄
class-wp-metadata-lazyloader.php
(5.26 KB)
📄
class-wp-network-query.php
(17.94 KB)
📄
class-wp-network.php
(12.09 KB)
📄
class-wp-object-cache.php
(13.22 KB)
📄
class-wp-oembed-controller.php
(6.63 KB)
📄
class-wp-oembed.php
(28.31 KB)
📄
class-wp-paused-extensions-storage.php
(4.81 KB)
📄
class-wp-post-type.php
(19.08 KB)
📄
class-wp-post.php
(6.29 KB)
📄
class-wp-query.php
(130.67 KB)
📄
class-wp-recovery-mode-cookie-service.php
(6.31 KB)
📄
class-wp-recovery-mode-email-service.php
(9.89 KB)
📄
class-wp-recovery-mode-key-service.php
(4.17 KB)
📄
class-wp-recovery-mode-link-service.php
(3.29 KB)
📄
class-wp-recovery-mode.php
(11.11 KB)
📄
class-wp-rewrite.php
(59.42 KB)
📄
class-wp-role.php
(2.44 KB)
📄
class-wp-roles.php
(8.23 KB)
📄
class-wp-session-tokens.php
(7.26 KB)
📄
class-wp-simplepie-file.php
(2.27 KB)
📄
class-wp-simplepie-sanitize-kses.php
(1.73 KB)
📄
class-wp-site-query.php
(27.88 KB)
📄
class-wp-site.php
(7.19 KB)
📄
class-wp-tax-query.php
(18.81 KB)
📄
class-wp-taxonomy.php
(12.28 KB)
📄
class-wp-term-query.php
(35.32 KB)
📄
class-wp-term.php
(5.14 KB)
📄
class-wp-text-diff-renderer-inline.php
(716 B)
📄
class-wp-text-diff-renderer-table.php
(16.48 KB)
📄
class-wp-theme.php
(49.53 KB)
📄
class-wp-user-meta-session-tokens.php
(2.92 KB)
📄
class-wp-user-query.php
(30.62 KB)
📄
class-wp-user-request.php
(2.14 KB)
📄
class-wp-user.php
(21.63 KB)
📄
class-wp-walker.php
(12.42 KB)
📄
class-wp-widget-factory.php
(2.56 KB)
📄
class-wp-widget.php
(17.49 KB)
📄
class-wp-xmlrpc-server.php
(205.52 KB)
📄
class-wp.php
(24.45 KB)
📄
class.wp-dependencies.php
(12.57 KB)
📄
class.wp-scripts.php
(18.04 KB)
📄
class.wp-styles.php
(10.62 KB)
📄
comment-template.php
(91.85 KB)
📄
comment.php
(122.28 KB)
📄
compat.php
(11.46 KB)
📄
cron.php
(32.06 KB)
📁
css
📁
customize
📄
date.php
(406 B)
📄
default-constants.php
(10.02 KB)
📄
default-filters.php
(26.14 KB)
📄
default-widgets.php
(2.07 KB)
📄
deprecated.php
(118.08 KB)
📄
embed-template.php
(341 B)
📄
embed.php
(46.47 KB)
📄
error-protection.php
(3.3 KB)
📄
feed-atom-comments.php
(5.32 KB)
📄
feed-atom.php
(3.03 KB)
📄
feed-rdf.php
(2.61 KB)
📄
feed-rss.php
(1.16 KB)
📄
feed-rss2-comments.php
(3.97 KB)
📄
feed-rss2.php
(3.71 KB)
📄
feed.php
(22.12 KB)
📁
fonts
📄
formatting.php
(303.19 KB)
📄
functions.php
(228.08 KB)
📄
functions.wp-scripts.php
(13.07 KB)
📄
functions.wp-styles.php
(8.11 KB)
📄
general-template.php
(153.99 KB)
📄
http.php
(21.86 KB)
📁
images
📁
js
📄
kses.php
(61.88 KB)
📄
l10n.php
(55.25 KB)
📄
link-template.php
(141.46 KB)
📄
load.php
(43.82 KB)
📄
locale.php
(162 B)
📄
media-template.php
(57.27 KB)
📄
media.php
(158.53 KB)
📄
meta.php
(58.17 KB)
📄
ms-blogs.php
(24.58 KB)
📄
ms-default-constants.php
(4.6 KB)
📄
ms-default-filters.php
(6.34 KB)
📄
ms-deprecated.php
(20.63 KB)
📄
ms-files.php
(2.58 KB)
📄
ms-functions.php
(88.26 KB)
📄
ms-load.php
(19.36 KB)
📄
ms-network.php
(3.57 KB)
📄
ms-settings.php
(4.03 KB)
📄
ms-site.php
(42.51 KB)
📄
nav-menu-template.php
(22.75 KB)
📄
nav-menu.php
(40.78 KB)
📄
option.php
(72.65 KB)
📄
pluggable-deprecated.php
(6.12 KB)
📄
pluggable.php
(99.8 KB)
📄
plugin.php
(31.66 KB)
📁
pomo
📄
post-formats.php
(6.91 KB)
📄
post-template.php
(61.93 KB)
📄
post-thumbnail-template.php
(9 KB)
📄
post.php
(243.87 KB)
📄
query.php
(34.69 KB)
📁
random_compat
📄
registration-functions.php
(202 B)
📄
registration.php
(202 B)
📁
rest-api
📄
rest-api.php
(65.77 KB)
📄
revision.php
(21.46 KB)
📄
rewrite.php
(17.65 KB)
📄
rss-functions.php
(211 B)
📄
rss.php
(22.44 KB)
📄
script-loader.php
(89.87 KB)
📄
session.php
(258 B)
📄
shortcodes.php
(20.91 KB)
📁
sitemaps
📄
sitemaps.php
(3.16 KB)
📁
sodium_compat
📄
spl-autoload-compat.php
(443 B)
📄
taxonomy.php
(158.32 KB)
📄
template-loader.php
(2.94 KB)
📄
template.php
(21.02 KB)
📁
theme-compat
📄
theme.php
(120.92 KB)
📄
update.php
(25.57 KB)
📄
user.php
(129.65 KB)
📄
vars.php
(5.68 KB)
📄
version.php
(766 B)
📁
widgets
📄
widgets.php
(57.72 KB)
📄
wlwmanifest.xml
(1.02 KB)
📄
wp-db.php
(103.12 KB)
📄
wp-diff.php
(647 B)
Editing: class-wp-block-patterns-registry.php
<?php /** * Blocks API: WP_Block_Patterns_Registry class * * @package WordPress * @subpackage Blocks * @since 5.5.0 */ /** * Class used for interacting with patterns. * * @since 5.5.0 */ final class WP_Block_Patterns_Registry { /** * Registered patterns array. * * @var array */ private $registered_patterns = array(); /** * Container for the main instance of the class. * * @var WP_Block_Patterns_Registry|null */ private static $instance = null; /** * Registers a pattern. * * @since 5.5.0 * * @param string $pattern_name Pattern name including namespace. * @param array $pattern_properties Array containing the properties of the pattern: title, * content, description, viewportWidth, categories, keywords. * @return bool True if the pattern was registered with success and false otherwise. */ public function register( $pattern_name, $pattern_properties ) { if ( ! isset( $pattern_name ) || ! is_string( $pattern_name ) ) { _doing_it_wrong( __METHOD__, __( 'Pattern name must be a string.' ), '5.5.0' ); return false; } if ( ! isset( $pattern_properties['title'] ) || ! is_string( $pattern_properties['title'] ) ) { _doing_it_wrong( __METHOD__, __( 'Pattern title must be a string.' ), '5.5.0' ); return false; } if ( ! isset( $pattern_properties['content'] ) || ! is_string( $pattern_properties['content'] ) ) { _doing_it_wrong( __METHOD__, __( 'Pattern content must be a string.' ), '5.5.0' ); return false; } $this->registered_patterns[ $pattern_name ] = array_merge( $pattern_properties, array( 'name' => $pattern_name ) ); return true; } /** * Unregisters a pattern. * * @since 5.5.0 * * @param string $pattern_name Pattern name including namespace. * @return bool True if the pattern was unregistered with success and false otherwise. */ public function unregister( $pattern_name ) { if ( ! $this->is_registered( $pattern_name ) ) { /* translators: 1: Pattern name. */ $message = sprintf( __( 'Pattern "%1$s" not found.' ), $pattern_name ); _doing_it_wrong( __METHOD__, $message, '5.5.0' ); return false; } unset( $this->registered_patterns[ $pattern_name ] ); return true; } /** * Retrieves an array containing the properties of a registered pattern. * * @since 5.5.0 * * @param string $pattern_name Pattern name including namespace. * @return array Registered pattern properties. */ public function get_registered( $pattern_name ) { if ( ! $this->is_registered( $pattern_name ) ) { return null; } return $this->registered_patterns[ $pattern_name ]; } /** * Retrieves all registered patterns. * * @since 5.5.0 * * @return array Array of arrays containing the registered patterns properties, * and per style. */ public function get_all_registered() { return array_values( $this->registered_patterns ); } /** * Checks if a pattern is registered. * * @since 5.5.0 * * @param string $pattern_name Pattern name including namespace. * @return bool True if the pattern is registered, false otherwise. */ public function is_registered( $pattern_name ) { return isset( $this->registered_patterns[ $pattern_name ] ); } /** * Utility method to retrieve the main instance of the class. * * The instance will be created if it does not exist yet. * * @since 5.5.0 * * @return WP_Block_Patterns_Registry The main instance. */ public static function get_instance() { if ( null === self::$instance ) { self::$instance = new self(); } return self::$instance; } } /** * Registers a new pattern. * * @since 5.5.0 * * @param string $pattern_name Pattern name including namespace. * @param array $pattern_properties Array containing the properties of the pattern. * @return bool True if the pattern was registered with success and false otherwise. */ function register_block_pattern( $pattern_name, $pattern_properties ) { return WP_Block_Patterns_Registry::get_instance()->register( $pattern_name, $pattern_properties ); } /** * Unregisters a pattern. * * @since 5.5.0 * * @param string $pattern_name Pattern name including namespace. * @return bool True if the pattern was unregistered with success and false otherwise. */ function unregister_block_pattern( $pattern_name ) { return WP_Block_Patterns_Registry::get_instance()->unregister( $pattern_name ); }
Upload File
Create Folder