This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
BSF_Analytics::get_analytics_install_time( string $source )
Set analytics installed time in option.
Description
Parameters
- $source
-
(string) (Required) source of analytics.
Return
(string) $time analytics installed time.
Source
File: admin/bsf-analytics/class-bsf-analytics.php
private function get_analytics_install_time( $source ) { $time = get_site_option( $source . '_analytics_installed_time' ); if ( ! $time ) { $time = time(); update_site_option( $source . '_analytics_installed_time', time() ); } return $time; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |