Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
PUM_Telemetry::is_time_to_send()
Determines if it is time to send telemetry data.
Description Description
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Return Return
(bool) True if it is time.
Source Source
File: classes/Telemetry.php
public static function is_time_to_send() { // Only send if admin has opted in. if ( ! self::has_opted_in() ) { return false; } // Send a maximum of once per week. if ( get_transient( 'pum_tracking_last_send' ) ) { return false; } return true; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.11.0 | Introduced. |