WP_Theme_JSON::get_patterns(): string[]

In this article

Returns the current theme’s wanted patterns(slugs) to be registered from Pattern Directory.

Return

string[]

Source

	}
	if ( ! isset( $theme_settings['settings']['typography'] ) ) {
		$theme_settings['settings']['typography'] = array();
	}
	$theme_settings['settings']['typography']['fontSizes'] = $font_sizes;
}

Changelog

VersionDescription
6.0.0Introduced.

User Contributed Notes

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