-
Notifications
You must be signed in to change notification settings - Fork 2
/
woo-cielo-boleto.php
51 lines (43 loc) · 1.74 KB
/
woo-cielo-boleto.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
<?php
/**
*
* Plugin Name: Woocommerce Cielo Boleto
* Plugin URI: https://github.com/santanamic/woo-cielo-boleto
* Description: Emita boletos usando a API Cielo integrada ao Woocommerce
* Author: WILLIAN SANTANA
* Author URI: https://github.com/santanamic
* Version: 1.0.0
* License: GPLv2
* Tested up to: 5.1.1
* WC requires at least: 3.0
* WC tested up to: 3.5
* Domain Path: /languages
* Text Domain: woo-cielo-boleto
*
* This file is part of <santanamic/woo-cielo-boleto>
* Created by WILLIAN SANTANA <https://github.com/santanamic>
*
* For the information of copyright and license you should read the file
* LICENSE which is distributed with this source code.
*
* Para a informaçao dos direitos autorais e de licença voce deve ler o arquivo
* LICENSE que é distribuído com este código-fonte.
*
* Para obtener la información de los derechos de autor y la licencia debe leer
* el archivo LICENSE que se distribuye con el código fuente.
*
* @package woo-cielo-boleto
* @author @santanamic
*
*/
defined( 'ABSPATH' ) || exit; // Exit if accessed directly
define('WOOCOMMERCE_CIELO_BOLETO_VERSION', '1.0.0');
define('WOOCOMMERCE_CIELO_BOLETO_DIR_PATH', plugin_dir_path(__FILE__));
define('WOOCOMMERCE_CIELO_BOLETO_DIR_URL', plugin_dir_url(__FILE__));
define('WOOCOMMERCE_CIELO_BOLETO_BASENAME', plugin_basename(__FILE__) );
define('WOOCOMMERCE_CIELO_BOLETO_SLUG', 'woo-cielo-boleto');
require_once( WOOCOMMERCE_CIELO_BOLETO_DIR_PATH . 'vendor/autoload.php' );
add_action( 'plugins_loaded', array('\CieloBoleto_478R4FRF\WC_Loader', 'init' ) );
add_action( 'admin_enqueue_scripts', array('\CieloBoleto_478R4FRF\WC_Helper', 'admin_plugin_scripts') );
add_action( 'init', array('\CieloBoleto_478R4FRF\WC_Helper', 'load_plugin_textdomain' ) );
?>