WP_Theme_JSON8b7c:f320:99b9:690f:4595:cd17:293a:c069get_merged_preset_by_slug( array $preset_per_origin, string $value_key ): array 
 This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.   Given an array of presets keyed by origin and the value key of the preset, it returns an array where each key is the preset slug and each value the preset value.   Parameters   $preset_per_origin array Required    Array of presets keyed by origin.    $value_key string Required    The property of the preset that contains its value.      Return array Array of presets where each key is a slug and each value is the preset value.   Source  File: wp-includes/class-wp-theme-json.php. View all references   * @since 5.8.0
 * @since 6.1.0 Added append position.
 *
 * @param string $selector  Original selector.
 * @param string $to_append Selector to append.
 * @param string $position  A position sub-selector should be appended. Default 'right'.
 * @return string The new selector.
 */
protected static function append_to_selector( $selector, $to_append, $position = 'right' ) {
	$new_selectors = array();
	$selectors     = explode( ',', $selector );
	foreach ( $selectors as $sel ) {
		$new_selectors[] = 'right' === $position ? $sel . $to_append : $to_append . $sel;
	}
	return implode( ',', $new_selectors );
}

/**
   Changelog    Version Description     5.8.0 Introduced.    

    
{'path': 'public/docs/wordpress/classes/wp_theme_json/get_merged_preset_by_slug.html', 'source': 'DevDocs.IO'}