sfw_synced_since

Description

Check if a Synchronization was peformed within the given duration

Since: 1.0.0

Code

<?php function sfw_synced_since( $duration = WEEK_IN_SECONDS ){ 
	 … 
 } ?>

Parameter

$duration
(int) Time in milliseconds

Default: WEEK_IN_SECONDS

Return

(bool) Returns true if a Synchronization was performed within the given duration

File

core/components/synchronization/functions-synchronization.php