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.


Top ↑

Return Return

(string)


Top ↑

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() );


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.