Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trainingspark/6ca9640c24472d977f6fc879df287f09 to your computer and use it in GitHub Desktop.
Save trainingspark/6ca9640c24472d977f6fc879df287f09 to your computer and use it in GitHub Desktop.
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