PluginProbe
Civist – Petitions and Fundraising / 8.0.0
Civist – Petitions and Fundraising v8.0.0
8.0.3 8.0.2 8.0.0 trunk
civist / civist.php

civist.php in Civist – Petitions and Fundraising 8.0.0, at civist.php

51 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 *
4 * Plugin Name: Civist - Petitions and Fundraising
5 * Description: With Civist you create petitions directly in WordPress, raise funds and build strong supporter networks.
6 * Version: 8.0.0
7 * Author: Civist
8 * Author URI: https://civist.com
9 * License: MIT
10 * Text Domain: civist
11 *
12 * @package civist
13 */
14
15 if ( ! defined( 'WPINC' ) ) {
16 die;
17 }
18
19
20 /**
21 * The plugin's uninstall handler.
22 */
23 function civist_uninstall() {
24 delete_option( 'civist' );
25 }
26
27 register_uninstall_hook( __FILE__, 'civist_uninstall' );
28
29 /**
30 * Instantiate the plugin class
31 */
32 function civist_run() {
33 $version = '8.0.0';
34 $plugin_name = 'Civist';
35 $plugin_slug = 'civist';
36 $plugin_text_domain = 'civist';
37 $plugin_file = __FILE__;
38 $registration_url = 'https://registration.civist.cloud/';
39 $geoip_url = 'https://geoip.civist.cloud/';
40 $widget_supported_languages = json_decode( '["ca","cs","de","en","en-GB","en-US","es","eu","fr","hr","it","lt","nl","nl-NL-x-formal","nb","pl","pt","ro","sk","sv","tr","ko"]' );
41 $enforce_https = true;
42 if ( defined( 'CIVIST_ENFORCE_HTTPS' ) ) {
43 $enforce_https = CIVIST_ENFORCE_HTTPS;
44 }
45
46 require_once( 'class-civist.php' );
47 $plugin = new Civist( $version, $plugin_name, $plugin_slug, $plugin_text_domain, $plugin_file, $registration_url, $geoip_url, $widget_supported_languages, $enforce_https );
48 $plugin->run();
49 }
50 civist_run();
51