SyncGenerator::getLastSyncTimestamp( $type = 'bp' )
Get the timestamp when the group is last synced
Description
Source
File: bp-integrations/learndash/library/SyncGenerator.php
protected function getLastSyncTimestamp($type = 'bp') { if (! $lastSync = bp_get_option("bp_ld_sync/{$type}_last_synced")) { $lastSync = time(); bp_update_option("bp_ld_sync/{$type}_last_synced", $lastSync); } return $lastSync; }
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.