Browse: Home / Classes / LearnDash_Theme_Register /

LearnDash_Theme_Register::is_active_theme

LearnDash_Theme_Register::is_active_theme( string $theme_key = '' )

Utility function to check if a theme_key is the active theme.


Description #


Parameters #

$theme_key

(string) (Optional) Key/Slug for theme to check.

Default value: ''


Return #

(boolean) true if theme_key is the active theme, otherwise false.


Source #

File: themes/class-ld-themes-register.php


Changelog #

Changelog
Version Description
3.0.0 Introduced.