Last active
October 15, 2021 16:27
-
-
Save trainingspark/6ca9640c24472d977f6fc879df287f09 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function buddyboss_is_learndash_brand_logo() | |
{ | |
global $post; | |
if (class_exists('B2BDash_Public')) { | |
$b2bdash = new B2BDash_Public(1, 1); | |
if (!empty($b2bdash->b2bdash_custom_logo())) { | |
return $b2bdash->b2bdash_custom_logo(); | |
} | |
} | |
if (class_exists('SFWD_LMS')) { | |
$logo = LearnDash_Settings_Section::get_section_setting('LearnDash_Settings_Theme_LD30', 'login_logo'); | |
if (!empty($logo)) { | |
return $logo; | |
} else { | |
return; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment