wp_is_block_theme


wp_is_block_theme ( No parameters )

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

Description

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

Related Functions

wp_enable_block_templates, is_child_theme, get_block_template, wp_using_themes, wp_enqueue_block_style

Top Google Results

User discussions

wpseek mobile