-
Notifications
You must be signed in to change notification settings - Fork 0
/
whatsapp-multi-contas.php
80 lines (59 loc) · 1.4 KB
/
whatsapp-multi-contas.php
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php
/**
* Plugin Name: Whatsapp Multi-Contas
* Plugin URI: https://github.com/webabsoluta
* Description: Disponibiliza link de Whatsapp para todo o site ou um número específico para página específica. Shortcode:[wmc_whatsapp_multicontas]
* Version: 1.1.0
* Author: Bruno Souza
* Author URI: https://webabsoluta.com.br
* License: GNU General Public License v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: whatsapp-multi-contas
* Domain Path: /l10n
**/
// If this file is called directly, abort.
if (!defined("WPINC")){
die;
}
/**
* Silent is golden
**/
define("WMC_EXEC",true);
/**
* Debug
**/
define("WMC_DEBUG",false);
/**
* Plugin File
**/
define("WMC_FILE",__FILE__);
/**
* Plugin Path
**/
define("WMC_PATH",dirname(__FILE__));
/**
* Plugin Base URL
**/
define("WMC_URL",plugins_url("/",__FILE__));
/**
* The plugin class.
**/
require WMC_PATH . "/incl/setup.php";
/** Metabox and Custom Fields **/
require WMC_PATH . "/incl/meta-boxes.php";
/** Styles **/
require WMC_PATH . "/incl/enqueue-styles.php";
/** plugin options **/
require WMC_PATH . "/incl/plugin-options.php";
/** short-codes **/
require WMC_PATH . "/incl/short-codes.php";
/** REST-API **/
require WMC_PATH . "/incl/rest-api.php";
/**
* Begins execution of the plugin.
**/
function run_whatsapp_multi_contas()
{
$plugin = new WhatsappMultiContas();
}
run_whatsapp_multi_contas();