-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchatster.php
More file actions
42 lines (38 loc) · 1.55 KB
/
Copy pathchatster.php
File metadata and controls
42 lines (38 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/**
* Plugin Name: Chatster
* Plugin URI: https://wordpress.org/plugins/chatster/
* Description: Customizable real time chat with messaging system and BOT helper.
* Author: Frank Pagano
* Author URI: https://frankspress.com
* Text Domain: chatster
* Domain Path: /languages
* Version: 1.0.1
* Copyright (c) 2020 Frankspress
* License: GPLv2 or later
*
* If you don't have a copy of the license please go to <http://www.gnu.org/licenses/>.
*
*/
if ( ! defined( 'ABSPATH' ) ) exit;
/**
* If WooCommerce is not active do nothing.
*/
if ( ! in_array( 'woocommerce/woocommerce.php', get_option( 'active_plugins' ) ) ) {
return;
}
define( 'CHATSTER_WOO_STATUS', TRUE );
define( 'CHATSTER_VERSION', '1.0.1' );
define( 'CHATSTER_DOMAIN', 'chatster' );
define( 'CHATSTER_KEY', get_option( 'chatster_enc_key' ) );
define( 'CHATSTER_FILE_PATH', __FILE__ );
define( 'CHATSTER_PATH', plugin_dir_path( __FILE__ ) );
define( 'CHATSTER_URL_PATH', plugin_dir_url( __FILE__ ) );
define( 'CHATSTER_FONTAWESOME_URL', CHATSTER_URL_PATH . 'lib/font-awesome-4.7.0/css/font-awesome.min.css' );
define( 'CHATSTER_AUTOCOMPLETE_URL', CHATSTER_URL_PATH . 'lib/algolia-autocomplete-0.37.1/autocomplete.jquery.min.js' );
define( 'CHATSTER_GOOGLE_FONTS_URL', 'https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,latin-ext' );
define( 'CHATSTER_SUPPORT_URL', 'https://wordpress.org/support/plugin/chatster/' );
/**
* Load Chatster
*/
require_once( CHATSTER_PATH . '/includes/core/chatster-loader.php' );