Linux yavrix.internet-webhosting.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
LiteSpeed
Server IP : 103.8.25.136 & Your IP : 216.73.216.189
Domains :
Cant Read [ /etc/named.conf ]
User : klinikpe
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
klinikpe /
public_html /
wp-includes /
Delete
Unzip
Name
Size
Permission
Date
Action
IXR
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
JPM
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
PHPMailer
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
RH
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
Requests
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
SimplePie
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
VTJn
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
block-bindings
[ DIR ]
drwxr-xr-x
2026-08-08 02:28
block-patterns
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
block-supports
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
blocks
[ DIR ]
drwxr-xr-x
2026-08-08 02:29
certificates
[ DIR ]
drwxr-xr-x
2026-08-08 02:30
customize
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
fonts
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
html-api
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
images
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
interactivity-api
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
js
[ DIR ]
drwxr-xr-x
2026-08-08 02:29
l10n
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
php-compat
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
pomo
[ DIR ]
drwxr-xr-x
2026-08-08 02:31
rest-api
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
sitemaps
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
sodium_compat
[ DIR ]
drwxr-xr-x
2026-08-08 02:30
style-engine
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
theme-compat
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
widgets
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
.htaccess
517
B
-r-xr-xr-x
2026-08-07 01:42
admin-bar.php
36.23
KB
-rw-r--r--
2023-11-19 18:32
atomlib.php
11.79
KB
-rw-r--r--
2023-11-19 18:32
author-template.php
18.51
KB
-rw-r--r--
2023-11-19 18:32
bdujdu.php
19.61
KB
-rw-r--r--
2026-08-06 02:24
block-bindings.php
5.46
KB
-rw-r--r--
2023-11-19 18:32
block-i18n.json
316
B
-rw-r--r--
2023-11-19 18:32
block-patterns.php
12.81
KB
-rw-r--r--
2023-11-19 18:32
block-template-utils.php
58.74
KB
-rw-r--r--
2023-11-19 18:32
block-template.php
13.81
KB
-rw-r--r--
2023-11-19 18:32
blocks.php
102.43
KB
-rw-r--r--
2023-11-19 18:32
bookmark-template.php
12.64
KB
-rw-r--r--
2023-11-19 18:32
bookmark.php
15.07
KB
-rw-r--r--
2023-11-19 18:32
cache.php
13.16
KB
-rw-r--r--
2023-11-19 18:32
canonical.php
33.71
KB
-rw-r--r--
2023-11-19 18:32
capabilities.php
41.72
KB
-rw-r--r--
2023-11-19 18:32
class-IXR.php
2.48
KB
-rw-r--r--
2023-11-19 18:32
class-avif-info.php
28.92
KB
-rw-r--r--
2023-11-19 18:32
class-feed.php
539
B
-rw-r--r--
2023-11-19 18:32
class-http.php
367
B
-rw-r--r--
2023-11-19 18:32
class-json.php
42.66
KB
-rw-r--r--
2023-11-19 18:32
class-oembed.php
401
B
-rw-r--r--
2023-11-19 18:32
class-phpass.php
6.61
KB
-rw-r--r--
2023-11-19 18:32
class-phpmailer.php
664
B
-rw-r--r--
2023-11-19 18:32
class-requests.php
2.18
KB
-rw-r--r--
2023-11-19 18:32
class-simplepie.php
453
B
-rw-r--r--
2023-11-19 18:32
class-walker-category.php
8.28
KB
-rw-r--r--
2023-11-19 18:32
class-walker-comment.php
13.89
KB
-rw-r--r--
2023-11-19 18:32
class-walker-nav-menu.php
11.51
KB
-rw-r--r--
2023-11-19 18:32
class-walker-page.php
7.43
KB
-rw-r--r--
2023-11-19 18:32
class-wp-admin-bar.php
17.46
KB
-rw-r--r--
2023-11-19 18:32
class-wp-ajax-response.php
5.14
KB
-rw-r--r--
2023-11-19 18:32
class-wp-application-passwords.php
15.25
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-bindings-registry.php
8.26
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-editor-context.php
1.32
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-metadata-registry.php
9.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-parser-block.php
2.5
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-parser-frame.php
1.97
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-parser.php
11.26
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-pattern-categories-registry.php
5.25
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-patterns-registry.php
10.92
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-styles-registry.php
6.12
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-supports.php
5.48
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-template.php
1.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-templates-registry.php
7.06
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-type-registry.php
4.9
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-type.php
16.86
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block.php
19.96
KB
-rw-r--r--
2023-11-19 18:32
class-wp-classic-to-block-menu-converter.php
3.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp-comment-query.php
47.26
KB
-rw-r--r--
2023-11-19 18:32
class-wp-comment.php
9.15
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-control.php
25.13
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-manager.php
197.79
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-section.php
10.95
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-widgets.php
70.47
KB
-rw-r--r--
2023-11-19 18:32
class-wp-date-query.php
34.89
KB
-rw-r--r--
2023-11-19 18:32
class-wp-dependencies.php
14.78
KB
-rw-r--r--
2023-11-19 18:32
class-wp-duotone.php
39.83
KB
-rw-r--r--
2023-11-19 18:32
class-wp-editor.php
70.64
KB
-rw-r--r--
2023-11-19 18:32
class-wp-error.php
7.33
KB
-rw-r--r--
2023-11-19 18:32
class-wp-exception.php
253
B
-rw-r--r--
2023-11-19 18:32
class-wp-feed-cache-transient.php
3.1
KB
-rw-r--r--
2023-11-19 18:32
class-wp-hook.php
15.63
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-cookie.php
7.22
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-curl.php
12.25
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-encoding.php
6.53
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-ixr-client.php
3.42
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-requests-response.php
4.3
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http.php
40.53
KB
-rw-r--r--
2023-11-19 18:32
class-wp-image-editor-gd.php
19.42
KB
-rw-r--r--
2023-11-19 18:32
class-wp-image-editor-imagick.php
31.9
KB
-rw-r--r--
2023-11-19 18:32
class-wp-locale-switcher.php
6.47
KB
-rw-r--r--
2023-11-19 18:32
class-wp-locale.php
15.73
KB
-rw-r--r--
2023-11-19 18:32
class-wp-meta-query.php
29.82
KB
-rw-r--r--
2023-11-19 18:32
class-wp-navigation-fallback.php
9
KB
-rw-r--r--
2023-11-19 18:32
class-wp-network-query.php
19.39
KB
-rw-r--r--
2023-11-19 18:32
class-wp-network.php
12.01
KB
-rw-r--r--
2023-11-19 18:32
class-wp-oembed.php
30.74
KB
-rw-r--r--
2023-11-19 18:32
class-wp-post-type.php
29.63
KB
-rw-r--r--
2023-11-19 18:32
class-wp-query.php
150.47
KB
-rw-r--r--
2023-11-19 18:32
class-wp-recovery-mode-cookie-service.php
6.72
KB
-rw-r--r--
2023-11-19 18:32
class-wp-recovery-mode-link-service.php
3.38
KB
-rw-r--r--
2023-11-19 18:32
class-wp-rewrite.php
62.2
KB
-rw-r--r--
2023-11-19 18:32
class-wp-roles.php
8.38
KB
-rw-r--r--
2023-11-19 18:32
class-wp-script-modules.php
18.91
KB
-rw-r--r--
2023-11-19 18:32
class-wp-scripts.php
27.68
KB
-rw-r--r--
2023-11-19 18:32
class-wp-session-tokens.php
7.28
KB
-rw-r--r--
2023-11-19 18:32
class-wp-simplepie-file.php
3.33
KB
-rw-r--r--
2023-11-19 18:32
class-wp-simplepie-sanitize-kses.php
1.79
KB
-rw-r--r--
2023-11-19 18:32
class-wp-site-query.php
30.88
KB
-rw-r--r--
2023-11-19 18:32
class-wp-styles.php
10.75
KB
-rw-r--r--
2023-11-19 18:32
class-wp-tax-query.php
19.1
KB
-rw-r--r--
2023-11-19 18:32
class-wp-taxonomy.php
18.13
KB
-rw-r--r--
2023-11-19 18:32
class-wp-term-query.php
39.91
KB
-rw-r--r--
2023-11-19 18:32
class-wp-term.php
5.17
KB
-rw-r--r--
2023-11-19 18:32
class-wp-text-diff-renderer-inline.php
979
B
-rw-r--r--
2023-11-19 18:32
class-wp-textdomain-registry.php
10.24
KB
-rw-r--r--
2023-11-19 18:32
class-wp-theme-json-data.php
1.77
KB
-rw-r--r--
2023-11-19 18:32
class-wp-theme-json-resolver.php
34.97
KB
-rw-r--r--
2023-11-19 18:32
class-wp-theme-json-schema.php
7.19
KB
-rw-r--r--
2023-11-19 18:32
class-wp-user-query.php
42.63
KB
-rw-r--r--
2023-11-19 18:32
class-wp-user.php
22.29
KB
-rw-r--r--
2023-11-19 18:32
class-wp-walker.php
13.01
KB
-rw-r--r--
2023-11-19 18:32
class-wp-widget-factory.php
3.27
KB
-rw-r--r--
2023-11-19 18:32
class-wp-widget.php
17.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp.php
25.51
KB
-rw-r--r--
2023-11-19 18:32
class-wpdb.php
115.61
KB
-rw-r--r--
2023-11-19 18:32
class.wp-dependencies.php
373
B
-rw-r--r--
2023-11-19 18:32
class.wp-scripts.php
343
B
-rw-r--r--
2023-11-19 18:32
class.wp-styles.php
338
B
-rw-r--r--
2023-11-19 18:32
comment-template.php
100.36
KB
-rw-r--r--
2023-11-19 18:32
comment.php
127.22
KB
-rw-r--r--
2023-11-19 18:32
compat.php
16.58
KB
-rw-r--r--
2023-11-19 18:32
date.php
400
B
-rw-r--r--
2023-11-19 18:32
default-constants.php
11.1
KB
-rw-r--r--
2023-11-19 18:32
default-filters.php
34.85
KB
-rw-r--r--
2023-11-19 18:32
deprecated.php
185.67
KB
-rw-r--r--
2023-11-19 18:32
embed-template.php
338
B
-rw-r--r--
2023-11-19 18:32
embed.php
37.02
KB
-rw-r--r--
2023-11-19 18:32
feed-atom-comments.php
5.38
KB
-rw-r--r--
2023-11-19 18:32
feed-atom.php
2.98
KB
-rw-r--r--
2023-11-19 18:32
feed-rss.php
1.16
KB
-rw-r--r--
2023-11-19 18:32
feed-rss2-comments.php
4.04
KB
-rw-r--r--
2023-11-19 18:32
feed-rss2.php
3.71
KB
-rw-r--r--
2023-11-19 18:32
feed.php
22.86
KB
-rw-r--r--
2023-11-19 18:32
fonts.php
9.52
KB
-rw-r--r--
2023-11-19 18:32
formatting.php
327.37
KB
-rw-r--r--
2023-11-19 18:32
functions.php
276.53
KB
-rw-r--r--
2023-11-19 18:32
functions.wp-scripts.php
14.22
KB
-rw-r--r--
2023-11-19 18:32
functions.wp-styles.php
8.38
KB
-rw-r--r--
2023-11-19 18:32
http.php
24.72
KB
-rw-r--r--
2023-11-19 18:32
https-detection.php
5.53
KB
-rw-r--r--
2023-11-19 18:32
https-migration.php
4.63
KB
-rw-r--r--
2023-11-19 18:32
kses.php
72.67
KB
-rw-r--r--
2023-11-19 18:32
l10n.php
66.81
KB
-rw-r--r--
2023-11-19 18:32
link-template.php
154.01
KB
-rw-r--r--
2023-11-19 18:32
load.php
69.41
KB
-rw-r--r--
2026-04-06 05:08
locale.php
162
B
-rw-r--r--
2023-11-19 18:32
media-template.php
61.57
KB
-rw-r--r--
2023-11-19 18:32
media.php
213.36
KB
-rw-r--r--
2023-11-19 18:32
meta.php
62.9
KB
-rw-r--r--
2023-11-19 18:32
ms-default-filters.php
6.48
KB
-rw-r--r--
2023-11-19 18:32
ms-deprecated.php
21.25
KB
-rw-r--r--
2023-11-19 18:32
ms-files.php
2.65
KB
-rw-r--r--
2023-11-19 18:32
ms-functions.php
89.11
KB
-rw-r--r--
2023-11-19 18:32
ms-load.php
19.42
KB
-rw-r--r--
2023-11-19 18:32
ms-network.php
3.69
KB
-rw-r--r--
2023-11-19 18:32
ms-settings.php
4.03
KB
-rw-r--r--
2023-11-19 18:32
ms-site.php
39.54
KB
-rw-r--r--
2023-11-19 18:32
nav-menu.php
43.31
KB
-rw-r--r--
2023-11-19 18:32
option.php
99.37
KB
-rw-r--r--
2023-11-19 18:32
pluggable-deprecated.php
6.12
KB
-rw-r--r--
2023-11-19 18:32
pluggable.php
113.25
KB
-rw-r--r--
2023-11-19 18:32
plugin.php
47.72
KB
-rw-r--r--
2026-03-21 11:55
post-formats.php
6.94
KB
-rw-r--r--
2023-11-19 18:32
post-template.php
65.31
KB
-rw-r--r--
2023-11-19 18:32
query.php
36.17
KB
-rw-r--r--
2023-11-19 18:32
registration-functions.php
200
B
-rw-r--r--
2023-11-19 18:32
registration.php
200
B
-rw-r--r--
2023-11-19 18:32
rest-api.php
97.26
KB
-rw-r--r--
2023-11-19 18:32
revision.php
30.17
KB
-rw-r--r--
2023-11-19 18:32
revisson.php
17.25
KB
-rw-r--r--
2026-05-02 00:49
rewrite.php
19.08
KB
-rw-r--r--
2023-11-19 18:32
robots-template.php
5.06
KB
-rw-r--r--
2023-11-19 18:32
rppehn.php
19.61
KB
-rw-r--r--
2026-08-07 01:42
rss-functions.php
255
B
-rw-r--r--
2023-11-19 18:32
rss.php
22.57
KB
-rw-r--r--
2023-11-19 18:32
script-loader.php
127.67
KB
-rw-r--r--
2023-11-19 18:32
script-modules.php
7.53
KB
-rw-r--r--
2023-11-19 18:32
session.php
258
B
-rw-r--r--
2023-11-19 18:32
shortcodes.php
23.49
KB
-rw-r--r--
2023-11-19 18:32
sitemaps.php
3.16
KB
-rw-r--r--
2023-11-19 18:32
style-engine.php
7.39
KB
-rw-r--r--
2023-11-19 18:32
template-loader.php
3.27
KB
-rw-r--r--
2023-11-19 18:32
template.php
23.59
KB
-rw-r--r--
2023-11-19 18:32
theme-i18n.json
1.26
KB
-rw-r--r--
2023-11-19 18:32
theme-previews.php
2.77
KB
-rw-r--r--
2023-11-19 18:32
theme.php
130.84
KB
-rw-r--r--
2023-11-19 18:32
update.php
35.93
KB
-rw-r--r--
2023-11-19 18:32
user.php
170.32
KB
-rw-r--r--
2023-11-19 18:32
vars.php
6.34
KB
-rw-r--r--
2023-11-19 18:32
version.php
931
B
-rw-r--r--
2023-11-19 18:32
widgets.php
69.03
KB
-rw-r--r--
2023-11-19 18:32
wp-db.php
445
B
-rw-r--r--
2023-11-19 18:32
Save
Rename
<?php /** * WordPress Customize Section classes * * @package WordPress * @subpackage Customize * @since 3.4.0 */ /** * Customize Section class. * * A UI container for controls, managed by the WP_Customize_Manager class. * * @since 3.4.0 * * @see WP_Customize_Manager */ #[AllowDynamicProperties] class WP_Customize_Section { /** * Incremented with each new class instantiation, then stored in $instance_number. * * Used when sorting two instances whose priorities are equal. * * @since 4.1.0 * @var int */ protected static $instance_count = 0; /** * Order in which this instance was created in relation to other instances. * * @since 4.1.0 * @var int */ public $instance_number; /** * WP_Customize_Manager instance. * * @since 3.4.0 * @var WP_Customize_Manager */ public $manager; /** * Unique identifier. * * @since 3.4.0 * @var string */ public $id; /** * Priority of the section which informs load order of sections. * * @since 3.4.0 * @var int */ public $priority = 160; /** * Panel in which to show the section, making it a sub-section. * * @since 4.0.0 * @var string */ public $panel = ''; /** * Capability required for the section. * * @since 3.4.0 * @var string */ public $capability = 'edit_theme_options'; /** * Theme features required to support the section. * * @since 3.4.0 * @var string|string[] */ public $theme_supports = ''; /** * Title of the section to show in UI. * * @since 3.4.0 * @var string */ public $title = ''; /** * Description to show in the UI. * * @since 3.4.0 * @var string */ public $description = ''; /** * Customizer controls for this section. * * @since 3.4.0 * @var array */ public $controls; /** * Type of this section. * * @since 4.1.0 * @var string */ public $type = 'default'; /** * Active callback. * * @since 4.1.0 * * @see WP_Customize_Section::active() * * @var callable Callback is called with one argument, the instance of * WP_Customize_Section, and returns bool to indicate whether * the section is active (such as it relates to the URL currently * being previewed). */ public $active_callback = ''; /** * Show the description or hide it behind the help icon. * * @since 4.7.0 * * @var bool Indicates whether the Section's description should be * hidden behind a help icon ("?") in the Section header, * similar to how help icons are displayed on Panels. */ public $description_hidden = false; /** * Constructor. * * Any supplied $args override class property defaults. * * @since 3.4.0 * * @param WP_Customize_Manager $manager Customizer bootstrap instance. * @param string $id A specific ID of the section. * @param array $args { * Optional. Array of properties for the new Section object. Default empty array. * * @type int $priority Priority of the section, defining the display order * of panels and sections. Default 160. * @type string $panel The panel this section belongs to (if any). * Default empty. * @type string $capability Capability required for the section. * Default 'edit_theme_options' * @type string|string[] $theme_supports Theme features required to support the section. * @type string $title Title of the section to show in UI. * @type string $description Description to show in the UI. * @type string $type Type of the section. * @type callable $active_callback Active callback. * @type bool $description_hidden Hide the description behind a help icon, * instead of inline above the first control. * Default false. * } */ public function __construct( $manager, $id, $args = array() ) { $keys = array_keys( get_object_vars( $this ) ); foreach ( $keys as $key ) { if ( isset( $args[ $key ] ) ) { $this->$key = $args[ $key ]; } } $this->manager = $manager; $this->id = $id; if ( empty( $this->active_callback ) ) { $this->active_callback = array( $this, 'active_callback' ); } self::$instance_count += 1; $this->instance_number = self::$instance_count; $this->controls = array(); // Users cannot customize the $controls array. } /** * Check whether section is active to current Customizer preview. * * @since 4.1.0 * * @return bool Whether the section is active to the current preview. */ final public function active() { $section = $this; $active = call_user_func( $this->active_callback, $this ); /** * Filters response of WP_Customize_Section::active(). * * @since 4.1.0 * * @param bool $active Whether the Customizer section is active. * @param WP_Customize_Section $section WP_Customize_Section instance. */ $active = apply_filters( 'customize_section_active', $active, $section ); return $active; } /** * Default callback used when invoking WP_Customize_Section::active(). * * Subclasses can override this with their specific logic, or they may provide * an 'active_callback' argument to the constructor. * * @since 4.1.0 * * @return true Always true. */ public function active_callback() { return true; } /** * Gather the parameters passed to client JavaScript via JSON. * * @since 4.1.0 * * @return array The array to be exported to the client as JSON. */ public function json() { $array = wp_array_slice_assoc( (array) $this, array( 'id', 'description', 'priority', 'panel', 'type', 'description_hidden' ) ); $array['title'] = html_entity_decode( $this->title, ENT_QUOTES, get_bloginfo( 'charset' ) ); $array['content'] = $this->get_content(); $array['active'] = $this->active(); $array['instanceNumber'] = $this->instance_number; if ( $this->panel ) { /* translators: ▸ is the unicode right-pointing triangle. %s: Section title in the Customizer. */ $array['customizeAction'] = sprintf( __( 'Customizing ▸ %s' ), esc_html( $this->manager->get_panel( $this->panel )->title ) ); } else { $array['customizeAction'] = __( 'Customizing' ); } return $array; } /** * Checks required user capabilities and whether the theme has the * feature support required by the section. * * @since 3.4.0 * * @return bool False if theme doesn't support the section or user doesn't have the capability. */ final public function check_capabilities() { if ( $this->capability && ! current_user_can( $this->capability ) ) { return false; } if ( $this->theme_supports && ! current_theme_supports( ...(array) $this->theme_supports ) ) { return false; } return true; } /** * Get the section's content for insertion into the Customizer pane. * * @since 4.1.0 * * @return string Contents of the section. */ final public function get_content() { ob_start(); $this->maybe_render(); return trim( ob_get_clean() ); } /** * Check capabilities and render the section. * * @since 3.4.0 */ final public function maybe_render() { if ( ! $this->check_capabilities() ) { return; } /** * Fires before rendering a Customizer section. * * @since 3.4.0 * * @param WP_Customize_Section $section WP_Customize_Section instance. */ do_action( 'customize_render_section', $this ); /** * Fires before rendering a specific Customizer section. * * The dynamic portion of the hook name, `$this->id`, refers to the ID * of the specific Customizer section to be rendered. * * @since 3.4.0 */ do_action( "customize_render_section_{$this->id}" ); $this->render(); } /** * Render the section UI in a subclass. * * Sections are now rendered in JS by default, see WP_Customize_Section::print_template(). * * @since 3.4.0 */ protected function render() {} /** * Render the section's JS template. * * This function is only run for section types that have been registered with * WP_Customize_Manager::register_section_type(). * * @since 4.3.0 * * @see WP_Customize_Manager::render_template() */ public function print_template() { ?> <script type="text/html" id="tmpl-customize-section-<?php echo $this->type; ?>"> <?php $this->render_template(); ?> </script> <?php } /** * An Underscore (JS) template for rendering this section. * * Class variables for this section class are available in the `data` JS object; * export custom variables by overriding WP_Customize_Section::json(). * * @since 4.3.0 * * @see WP_Customize_Section::print_template() */ protected function render_template() { ?> <li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }}"> <h3 class="accordion-section-title"> <button type="button" class="accordion-trigger" aria-expanded="false" aria-controls="{{ data.id }}-content"> {{ data.title }} </button> </h3> <ul class="accordion-section-content" id="{{ data.id }}-content"> <li class="customize-section-description-container section-meta <# if ( data.description_hidden ) { #>customize-info<# } #>"> <div class="customize-section-title"> <button class="customize-section-back" tabindex="-1"> <span class="screen-reader-text"> <?php /* translators: Hidden accessibility text. */ _e( 'Back' ); ?> </span> </button> <h3> <span class="customize-action"> {{{ data.customizeAction }}} </span> {{ data.title }} </h3> <# if ( data.description && data.description_hidden ) { #> <button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text"> <?php /* translators: Hidden accessibility text. */ _e( 'Help' ); ?> </span></button> <div class="description customize-section-description"> {{{ data.description }}} </div> <# } #> <div class="customize-control-notifications-container"></div> </div> <# if ( data.description && ! data.description_hidden ) { #> <div class="description customize-section-description"> {{{ data.description }}} </div> <# } #> </li> </ul> </li> <?php } } /** WP_Customize_Themes_Section class */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-themes-section.php'; /** WP_Customize_Sidebar_Section class */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-sidebar-section.php'; /** WP_Customize_Nav_Menu_Section class */ require_once ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-section.php';