WP_Theme_JSON::do_opt_in_into_settings( array $context )

In this article

Enables some settings.

Parameters

$contextarrayrequired
The context to which the settings belong.

Source

	array( 'color', 'caption' ),
	array( 'dimensions', 'aspectRatio' ),
	array( 'dimensions', 'minHeight' ),
	array( 'position', 'sticky' ),
	array( 'spacing', 'blockGap' ),
	array( 'spacing', 'margin' ),
	array( 'spacing', 'padding' ),
	array( 'typography', 'lineHeight' ),
);

/**
 * The latest version of the schema in use.
 *

Changelog

VersionDescription
5.9.0Introduced.

User Contributed Notes

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