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: ''


Top ↑

Return Return

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


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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