$82 GRAYBYTE WORDPRESS FILE MANAGER $37

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.217.88
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bravetechrwanda/itiministry.org/wp-includes/l10n/

HOME
Current File : /home/bravetechrwanda/itiministry.org/wp-includes/l10n//class-wp-theme-json-data.php
<?php
/**
 * WP_Theme_JSON_Data class
 *
 * @package WordPress
 * @subpackage Theme
 * @since 6.1.0
 */

/**
 * Class to provide access to update a theme.json structure.
 */
#[AllowDynamicProperties]
class WP_Theme_JSON_Data {

	/**
	 * Container of the data to update.
	 *
	 * @since 6.1.0
	 * @var WP_Theme_JSON
	 */
	private $theme_json = null;

	/**
	 * The origin of the data: default, theme, user, etc.
	 *
	 * @since 6.1.0
	 * @var string
	 */
	private $origin = '';

	/**
	 * Constructor.
	 *
	 * @since 6.1.0
	 *
	 * @link https://developer.wordpress.org/block-editor/reference-guides/theme-json-reference/
	 *
	 * @param array  $data   Array following the theme.json specification.
	 * @param string $origin The origin of the data: default, theme, user.
	 */
	public function __construct( $data = array( 'version' => WP_Theme_JSON::LATEST_SCHEMA ), $origin = 'theme' ) {
		$this->origin     = $origin;
		$this->theme_json = new WP_Theme_JSON( $data, $this->origin );
	}

	/**
	 * Updates the theme.json with the the given data.
	 *
	 * @since 6.1.0
	 *
	 * @param array $new_data Array following the theme.json specification.
	 *
	 * @return WP_Theme_JSON_Data The own instance with access to the modified data.
	 */
	public function update_with( $new_data ) {
		$this->theme_json->merge( new WP_Theme_JSON( $new_data, $this->origin ) );
		return $this;
	}

	/**
	 * Returns an array containing the underlying data
	 * following the theme.json specification.
	 *
	 * @since 6.1.0
	 *
	 * @return array
	 */
	public function get_data() {
		return $this->theme_json->get_raw_data();
	}

	/**
	 * Returns theme JSON object.
	 *
	 * @since 6.6.0
	 *
	 * @return WP_Theme_JSON The theme JSON structure stored in this data object.
	 */
	public function get_theme_json() {
		return $this->theme_json;
	}
}

Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
19 May 2026 3.23 AM
bravetechrwanda / bravetechrwanda
0755
wk
--
8 Feb 2026 11.06 PM
bravetechrwanda / bravetechrwanda
0755
wp-site
--
30 Mar 2026 6.20 PM
bravetechrwanda / bravetechrwanda
0755
cache-compat.php
9.842 KB
2 Dec 2025 11.05 PM
bravetechrwanda / bravetechrwanda
0644
category-template.php
55.708 KB
2 Dec 2025 11.05 PM
bravetechrwanda / bravetechrwanda
0644
class-wp-date-query.php
35.3 KB
2 Dec 2025 11.05 PM
bravetechrwanda / bravetechrwanda
0644
class-wp-embed.php
15.558 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-error.php
7.326 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-theme-json-data.php
1.767 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-translation-controller.php
12.667 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-translation-file-mo.php
6.219 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-translation-file-php-20260509185222.php
1.771 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-translation-file-php.php
1.771 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-translation-file.php
6.134 KB
17 Oct 2025 11.09 AM
bravetechrwanda / bravetechrwanda
0644
class-wp-translations.php
3.721 KB
2 Dec 2025 11.05 PM
bravetechrwanda / bravetechrwanda
0644
l10n.php
68.897 KB
2 Dec 2025 11.05 PM
bravetechrwanda / bravetechrwanda
0644
ms-functions.php
89.689 KB
2 Dec 2025 11.05 PM
bravetechrwanda / bravetechrwanda
0644
sitemaps.php
4.884 KB
21 Oct 2025 12.12 AM
bravetechrwanda / bravetechrwanda
0644
theme-i18n.json
1.689 KB
3 Feb 2026 8.22 PM
bravetechrwanda / bravetechrwanda
0644
theme.php
133.695 KB
2 Dec 2025 11.05 PM
bravetechrwanda / bravetechrwanda
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF