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


	return $new_theme_json;
}

/**
 * Enables some settings.
 *
 * @since 5.9.0
 *
 * @param array $context The context to which the settings belong.
 */
protected static function do_opt_in_into_settings( &$context ) {
	foreach ( static::APPEARANCE_TOOLS_OPT_INS as $path ) {

Changelog

VersionDescription
5.9.0Introduced.

User Contributed Notes

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