PluginProbe
HubSpot All-In-One Marketing – Forms, Popups, Live Chat / trunk
HubSpot All-In-One Marketing – Forms, Popups, Live Chat vtrunk
11.3.73 11.3.71 11.3.70 11.3.69 11.3.64 11.3.65 11.3.62 11.3.61 11.3.56 11.3.58 11.0.31 11.0.52 11.0.54 11.0.56 11.0.58 11.0.7 11.1.10 11.1.11 11.1.13 11.1.14 11.1.15 11.1.2 11.1.20 11.1.21 11.1.22 All 72 releases
leadin / leadin.php

leadin.php in HubSpot All-In-One Marketing – Forms, Popups, Live Chat trunk, at leadin.php

89 lines 2.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Leadin;
4
5 if ( ! defined( 'ABSPATH' ) ) exit;
6
7 /**
8 * Plugin Name: HubSpot All-In-One Marketing - Forms, Popups, Live Chat
9 * Plugin URI: http://www.hubspot.com/integrations/wordpress
10 * Description: HubSpot’s official WordPress plugin allows you to add forms, popups, and live chat to your website and integrate with the best WordPress CRM.
11 * Version: 11.3.73
12 * Author: HubSpot
13 * Author URI: http://hubspot.com/products/wordpress
14 * License: GPL v3
15 * Text Domain: leadin
16 * Domain Path: /languages/
17 *
18 * This program is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU General Public License as published by
20 * the Free Software Foundation, either version 3 of the License, or
21 * (at your option) any later version.
22 *
23 * This program is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU General Public License for more details.
27 *
28 * You should have received a copy of the GNU General Public License
29 * along with this program. If not, see <http://www.gnu.org/licenses/>.
30 */
31
32 // =============================================
33 // Define Constants
34 // =============================================
35 if ( ! defined( 'LEADIN_BASE_PATH' ) ) {
36 define( 'LEADIN_BASE_PATH', __FILE__ );
37 }
38
39 if ( ! defined( 'LEADIN_PATH' ) ) {
40 define( 'LEADIN_PATH', untrailingslashit( plugins_url( '', LEADIN_BASE_PATH ) ) );
41 }
42
43 if ( ! defined( 'LEADIN_ASSETS_PATH' ) ) {
44 define( 'LEADIN_ASSETS_PATH', untrailingslashit( plugins_url( '', LEADIN_BASE_PATH ) . '/public/assets' ) );
45 }
46
47 if ( ! defined( 'LEADIN_JS_BASE_PATH' ) ) {
48 define( 'LEADIN_JS_BASE_PATH', untrailingslashit( plugins_url( '', LEADIN_BASE_PATH ) . '/build' ) );
49 }
50
51 if ( ! defined( 'LEADIN_PLUGIN_DIR' ) ) {
52 define( 'LEADIN_PLUGIN_DIR', untrailingslashit( dirname( LEADIN_BASE_PATH ) ) );
53 }
54
55 if ( ! defined( 'LEADIN_REQUIRED_WP_VERSION' ) ) {
56 define( 'LEADIN_REQUIRED_WP_VERSION', '5.8' );
57 }
58
59 if ( ! defined( 'LEADIN_REQUIRED_PHP_VERSION' ) ) {
60 define( 'LEADIN_REQUIRED_PHP_VERSION', '7.2' );
61 }
62
63 if ( ! defined( 'LEADIN_PLUGIN_VERSION' ) ) {
64 define( 'LEADIN_PLUGIN_VERSION', '11.3.73' );
65 }
66
67 if ( ! defined( 'LEADIN_PREFIX' ) ) {
68 define( 'LEADIN_PREFIX', 'leadin' );
69 }
70
71 if ( ! defined( 'LEADIN_KEY' ) && defined( 'LOGGED_IN_KEY' ) ) {
72 define( 'LEADIN_KEY', LOGGED_IN_KEY );
73 }
74
75 if ( ! defined( 'LEADIN_SALT' ) && defined( 'LOGGED_IN_SALT' ) ) {
76 define( 'LEADIN_SALT', LOGGED_IN_SALT );
77 }
78
79 // =============================================
80 // Set autoload
81 // =============================================
82 require_once LEADIN_PLUGIN_DIR . '/vendor/autoload.php';
83 require_once ABSPATH . 'wp-admin/includes/plugin.php';
84
85
86 use \Leadin\Leadin;
87
88 $leadin = new Leadin();
89