-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.php
36 lines (30 loc) · 1.08 KB
/
plugin.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
<?php
/**
* Plugin Name: Telegram Bot WordPress Plugin Boilerplate
* Plugin URI: https://GitHub.com/FourteenDev/telegram-bot-wordpress-plugin-boilerplate
* Description: A boilerplate plugin for connecting a Telegram bot to your WordPress website.
* Version: 1.2.1
* Author: Fourteen Development
* Author URI: https://Fourteen.dev/
* License: MIT
* License URI: https://opensource.org/license/mit/
* Text Domain: telegram-plugin-boilerplate
* Domain Path: /languages
*/
use TelegramPluginBoilerplate\Core;
if (!defined('ABSPATH')) return;
define('FDTBWPB_VERSION', '1.2.1');
define('FDTBWPB_FILE', __FILE__);
define('FDTBWPB_URL', plugin_dir_url(FDTBWPB_FILE));
define('FDTBWPB_DIR', plugin_dir_path(FDTBWPB_FILE));
define('FDTBWPB_BASENAME', plugin_basename(FDTBWPB_FILE));
define('FDTBWPB_TEXT_DOMAIN', 'telegram-plugin-boilerplate');
define('FDTBWPB_SETTINGS_SLUG', 'fdtbwpb');
define('FDTBWPB_OPTIONS_KEY_DB_VERSION', 'fdtbwpb_db_version');
require_once 'vendor/autoload.php';
require_once 'functions.php';
function FDTBWPB()
{
return Core::getInstance();
}
FDTBWPB();