wp_is_block_theme() – Returns whether the current theme is a block-based theme or not.
You appear to be a bot. Output may be restricted
Description
Returns whether the active theme is a block-based theme or not.
Usage
$boolean = wp_is_block_theme();
Parameters
Returns
boolean Whether the active theme is a block-based theme or not.
Source
File name: wordpress/wp-includes/theme.php
Lines:
1 to 3 of 3
function wp_is_block_theme() { return wp_get_theme()->is_block_theme(); }