wp_is_block_theme


wp_is_block_theme ( No parameters )

Returns:
  • (bool) Whether the active theme is a block-based theme or not.
Defined at:

Description

Returns whether the active theme is a block-based theme or not.

Related Functions

wp_enable_block_templates, is_child_theme, wp_using_themes, wp_get_first_block, get_block_template

Top Google Results

User discussions

wpseek mobile