wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_is_block_theme › WordPress Function

Od5.9.0
Przestarzałyn/a
wp_is_block_theme ( Brak parametrów )
Powrót:
  • (bool) Whether the active theme is a block-based theme or not.
Zdefiniowane na:
Codex:

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



Źródło

function wp_is_block_theme() {
	return wp_get_theme()->is_block_theme();
}