PluginProbe
TrustedSite / 1.2.2
TrustedSite v1.2.2
1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.0 1.1.1 1.1.2 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 trunk 1.0 1.0.1 1.0.2 1.0.3
trustedsite / trustedsite.php

trustedsite.php in TrustedSite 1.2.2, at trustedsite.php

32 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 defined( 'ABSPATH' ) OR exit;
3
4 /**
5 * ------------------------------------------------------------------------------------------------------------------
6 * @package trustedsite
7 * @version 1.2.2
8 * Plugin Name: TrustedSite
9 * Plugin URI: https://www.trustedsite.com/
10 * Description: Display TrustedSite trustmarks on your website to increase visitor confidence and conversion rates.
11 * Author: TrustedSite
12 * Version: 1.2.2
13 * ------------------------------------------------------------------------------------------------------------------
14 */
15
16 if(defined('WP_INSTALLING') && WP_INSTALLING){
17 return;
18 }
19 define('TRUSTEDSITE_VERSION', '1.2.2');
20
21 add_action('activated_plugin','trustedsite_save_activation_error');
22 function trustedsite_save_activation_error(){
23 update_option('trustedsite_plugin_error', ob_get_contents());
24 }
25
26 require_once('lib/Trustedsite.php');
27 register_activation_hook(__FILE__, 'Trustedsite::activate');
28 register_deactivation_hook(__FILE__, 'Trustedsite::deactivate');
29 register_uninstall_hook(__FILE__, 'Trustedsite::uninstall');
30
31 Trustedsite::install();
32