| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Frontend Dashboard |
| 4 |
* Plugin URI: https://buffercode.com/plugin/frontend-dashboard |
| 5 |
* Description: Frontend dashboard makes you flexible way to customize the user dashboard on frontend rather than WordPress wp-admin dashboard. |
| 6 |
* Version: 2.2.11 |
| 7 |
* Author: vinoth06 |
| 8 |
* Author URI: https://buffercode.com/ |
| 9 |
* License: GPLv2 |
| 10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 11 |
* Text Domain: frontend-dashboard |
| 12 |
* Domain Path: /languages |
| 13 |
* |
| 14 |
* @package frontend-dashboard |
| 15 |
*/ |
| 16 |
|
| 17 |
if ( ! defined( 'ABSPATH' ) ) { |
| 18 |
exit; |
| 19 |
} |
| 20 |
|
| 21 |
|
| 22 |
/** |
| 23 |
* Version Number |
| 24 |
*/ |
| 25 |
define( 'BC_FED_PLUGIN_VERSION', '2.2.11' ); |
| 26 |
define( 'BC_FED_PLUGIN_VERSION_TYPE', 'FREE' ); |
| 27 |
|
| 28 |
/** |
| 29 |
* App Name |
| 30 |
*/ |
| 31 |
define( 'BC_FED_APP_NAME', 'Frontend Dashboard' ); |
| 32 |
|
| 33 |
/** |
| 34 |
* Root Path |
| 35 |
*/ |
| 36 |
define( 'BC_FED_PLUGIN', __FILE__ ); |
| 37 |
/** |
| 38 |
* Plugin Base Name |
| 39 |
*/ |
| 40 |
define( 'BC_FED_PLUGIN_BASENAME', plugin_basename( BC_FED_PLUGIN ) ); |
| 41 |
/** |
| 42 |
* Plugin Name |
| 43 |
*/ |
| 44 |
define( 'BC_FED_PLUGIN_NAME', trim( dirname( BC_FED_PLUGIN_BASENAME ), '/' ) ); |
| 45 |
/** |
| 46 |
* Plugin Directory |
| 47 |
*/ |
| 48 |
define( 'BC_FED_PLUGIN_DIR', untrailingslashit( dirname( BC_FED_PLUGIN ) ) ); |
| 49 |
|
| 50 |
/** |
| 51 |
* User Profile Table Name |
| 52 |
*/ |
| 53 |
define( 'BC_FED_TABLE_USER_PROFILE', 'fed_user_profile' ); |
| 54 |
/** |
| 55 |
* Dashboard Menu Items |
| 56 |
*/ |
| 57 |
define( 'BC_FED_TABLE_MENU', 'fed_menu' ); |
| 58 |
define( 'BC_FED_TABLE_MENU_META', 'fed_menu_meta' ); |
| 59 |
/** |
| 60 |
* Post Fields |
| 61 |
*/ |
| 62 |
define( 'BC_FED_TABLE_POST', 'fed_post' ); |
| 63 |
define( 'BC_FED_TABLE_PAYMENT', 'fed_payment' ); |
| 64 |
define( 'BC_FED_TABLE_PAYMENT_ITEMS', 'fed_payment_items' ); |
| 65 |
/** |
| 66 |
* Plugin URL |
| 67 |
*/ |
| 68 |
define( 'BC_FED_API_PLUGIN_LIST', 'https://buffercode/api/v1/fed/plugin_list' ); |
| 69 |
|
| 70 |
require_once BC_FED_PLUGIN_DIR . '/fed-autoload.php'; |
| 71 |
|