-
Notifications
You must be signed in to change notification settings - Fork 34
/
power-bi.php
38 lines (38 loc) · 1.2 KB
/
power-bi.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: Power BI Embedded for WordPress
* Plugin URI: https://github.com/atlaspolicy/wordpress-power-bi-embedded
* Description: Use Power BI Embedded to embed dashboards, reports, Q&A, visuals, and tiles in your WordPress website.
* Version: 1.1.7
* Author: Atlas Public Policy
* Author URI: http://www.atlaspolicy.com
* Text Domain: power-bi
* Domain Path: /languages/
* License: GNU General Public License v3.0
*
* @package Power_Bi
*/
if (!defined('ABSPATH')) {
exit;
}
/**
* Currently plugin version.
*/
define('POWER_BI_VERSION', '1.1.7');
define('POWER_BI_PLUGIN_DIR', untrailingslashit(plugin_dir_path(__FILE__)));
define('POWER_BI_PLUGIN_URL', untrailingslashit(plugins_url(basename(plugin_dir_path(__FILE__)), basename(__FILE__))));
/**
* The core plugin class that is used to define internationalization,
* admin-specific hooks, and public-facing site hooks.
*/
require plugin_dir_path(__FILE__) . 'includes/class-power-bi.php';
/**
* Gets the instance of the `Power_Bi` class. This function is useful for quickly grabbing data
* used throughout the plugin.
*/
function power_bi()
{
return Power_Bi::get_instance();
}
// Let's roll!
power_bi(); // this sets up the instance