llms_is_block_theme()
Determine whether the current theme is a block theme.
Description Description
Just a wrapper for WordPress core wp_is_block_theme()
so to filter for testing purposes.
Return Return
(string)
Source Source
File: includes/llms.functions.core.php
*/ function llms_is_block_theme() { /** * Filters whether the current theme is a block theme. * * @since 6.0.0 * * @param $is_block_theme Whether the current theme is a block theme. */ return apply_filters( 'llms_is_block_theme', function_exists( 'wp_is_block_theme' ) && wp_is_block_theme() );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |