learndash_is_active_theme learndash_is_active_theme( string $theme_key = '' ) Checks if a theme_key is the active theme. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $theme_key (string) (Optional) Key/Slug for the 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. Related # Namespace # global @package # LearnDash / Templates Uses # Uses Uses Description themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_key () Get the Slug of the current active theme. Used By # Used By Used By Description includes/payments/ld-login-registration-functions.php: learndash_registration_page_is_set () Returns true if the registration page is set, false otherwise. includes/shortcodes/ld_infobar.php: learndash_infobar_shortcode () Builds the [ld_infobar] shortcode output. includes/shortcodes/ld_materials.php: learndash_materials_shortcode_function () Builds the [ld_materials] shortcode output. includes/shortcodes/ld_navigation.php: learndash_navigation_shortcode () Builds the [ld_navigation] shortcode output. includes/admin/classes-posts-listings/class-learndash-admin-exams-listing.php: Learndash_Admin_Exams_Listing::learndash_exam_legacy_theme_warning () Returns message if current active theme is set to Legacy includes/group/ld-groups-membership.php: LD_Groups_Membership::get_access_denied_message () Get Group Membership access denied message. includes/shortcodes/learndash_user_status.php: learndash_user_status_shortcode () Builds the learndash_user_status shortcode output.
Uses # Uses Uses Description themes/class-ld-themes-register.php: LearnDash_Theme_Register::get_active_theme_key () Get the Slug of the current active theme.
Used By # Used By Used By Description includes/payments/ld-login-registration-functions.php: learndash_registration_page_is_set () Returns true if the registration page is set, false otherwise. includes/shortcodes/ld_infobar.php: learndash_infobar_shortcode () Builds the [ld_infobar] shortcode output. includes/shortcodes/ld_materials.php: learndash_materials_shortcode_function () Builds the [ld_materials] shortcode output. includes/shortcodes/ld_navigation.php: learndash_navigation_shortcode () Builds the [ld_navigation] shortcode output. includes/admin/classes-posts-listings/class-learndash-admin-exams-listing.php: Learndash_Admin_Exams_Listing::learndash_exam_legacy_theme_warning () Returns message if current active theme is set to Legacy includes/group/ld-groups-membership.php: LD_Groups_Membership::get_access_denied_message () Get Group Membership access denied message. includes/shortcodes/learndash_user_status.php: learndash_user_status_shortcode () Builds the learndash_user_status shortcode output.