forked from AyeCode/invoicing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
invoicing.php
38 lines (30 loc) · 871 Bytes
/
invoicing.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
<?php
/*
Plugin Name: Invoicing
Plugin URI: https://wpinvoicing.com/
Description: Invoicing plugin, this plugin allows you to send invoices (also EU VAT compliant) to people and have them pay you online.
Version: 1.0.10
Author: AyeCode Ltd
Author URI: https://wpinvoicing.com
License: GPLv3
Text Domain: invoicing
Domain Path: /languages
*/
// MUST have WordPress.
if ( !defined( 'WPINC' ) ) {
exit( 'Do NOT access this file directly: ' . basename( __FILE__ ) );
}
if ( !defined( 'WPINV_VERSION' ) ) {
define( 'WPINV_VERSION', '1.0.10' );
}
if ( !defined( 'WPINV_PLUGIN_FILE' ) ) {
define( 'WPINV_PLUGIN_FILE', __FILE__ );
}
require plugin_dir_path( __FILE__ ) . 'includes/class-wpinv.php';
function wpinv_run() {
global $invoicing;
$invoicing = WPInv_Plugin::run();
return $invoicing;
}
// load WPInv_Plugin instance.
wpinv_run();