wp_theme_has_theme_json
wp_theme_has_theme_json ( No parameters )
Returns:- (bool) Returns true if theme or its parent has a theme.json file, false otherwise.
Defined at: - Introduced in WordPress: 6.2.0
- Deprecated in WordPress: —
Description
Checks whether a theme or its parent has a theme.json file.