LearnDash_Theme_Register::is_active_theme( string $theme_key = '' )
Utility function to check if a theme_key is the active theme.
Description Description
Parameters Parameters
- $theme_key
-
(Optional) Key/Slug for theme to check.
Default value: ''
Return Return
(boolean) true if theme_key is the active theme, otherwise false.
Source Source
File: themes/class-ld-themes-register.php
Changelog Changelog
| Version | Description |
|---|---|
| 3.0 | Introduced. |