SyncGenerator::getLdSyncToRole( $type )

Get the ld role to sync to

Description

Source

File: bp-integrations/learndash/library/SyncGenerator.php

665
666
667
668
protected function getLdSyncToRole($type)
{
    return bp_ld_sync('settings')->get("learndash.default_{$type}_sync_to");
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.