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;
		}

Changelog

Changelog
Version Description
1.0.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.