WP_Theme_JSON::process_blocks_custom_css( string $css, string $selector ): string

In this article

Processes the CSS, to apply nesting.

Parameters

$cssstringrequired
The CSS to process.
$selectorstringrequired
The selector to nest.

Return

string The processed CSS.

Source

/**
 * Processes the CSS, to apply nesting.
 *
 * @since 6.2.0
 *
 * @param string $css      The CSS to process.
 * @param string $selector The selector to nest.
 * @return string The processed CSS.
 */
protected function process_blocks_custom_css( $css, $selector ) {
	$processed_css = '';

Changelog

VersionDescription
6.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.