Core Function
View Source on Trac ↗ wp_is_block_theme()
wp_is_block_theme( ) Returns whether the active theme is a block-based theme or not.
Return Value
(bool)
Whether the active theme is a block-based theme or not.
Function Information
Since Version
5.9.0
Source File
wp-includes/theme.php
Advertisement