WP_Theme_JSON::get_raw_data(): array

In this article

Returns the raw data.

Return

array Raw data.

Source

$block_gap_value = static::get_property_value( $this->theme_json, array( 'styles', 'spacing', 'blockGap' ) );
$css            .= ":where(.wp-site-blocks) > * { margin-block-start: $block_gap_value; margin-block-end: 0; }";
$css            .= ':where(.wp-site-blocks) > :first-child { margin-block-start: 0; }';

Changelog

VersionDescription
5.8.0Introduced.

User Contributed Notes

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