PluginProbe ʕ •ᴥ•ʔ
Tracking Code Manager / 1.5
Tracking Code Manager v1.5
trunk 1.11.8 1.11.9 1.12.0 1.12.1 1.12.2 1.12.3 1.4 1.5 2.0.0 2.0.1 2.0.13 2.0.14 2.0.15 2.0.16 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0 2.6.0
tracking-code-manager / includes / install.php
tracking-code-manager / includes Last commit date
admin 11 years ago actions.php 11 years ago class-TCM-check.php 11 years ago class-TCM-cron.php 11 years ago class-TCM-form.php 11 years ago class-TCM-language.php 11 years ago class-TCM-logger.php 11 years ago class-TCM-manager.php 11 years ago class-TCM-options.php 11 years ago class-TCM-tracking.php 11 years ago class-TCM-utils.php 11 years ago core.php 11 years ago install.php 11 years ago uninstall.php 11 years ago
install.php
19 lines
1 <?php
2
3 function tcm_install($networkwide=NULL) {
4 global $wpdb, $tcm;
5
6 $time=$tcm->Options->getPluginInstallDate();
7 if($time==0) {
8 $tcm->Options->setPluginInstallDate(time());
9 }
10 $tcm->Options->setPluginUpdateDate(time());
11 }
12
13 register_activation_hook(TCM_PLUGIN_FILE, 'tcm_install');
14
15
16
17
18
19