forked from AtlasPublicPolicy/power-bi-embedded
-
Notifications
You must be signed in to change notification settings - Fork 0
/
power-bi.php
44 lines (39 loc) · 1.32 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
39
40
41
42
43
44
<?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.0.1
* Author: Atlas Public Policy
* Author URI: http://www.atlaspolicy.com
* Text Domain: power-bi
* Domain Path: /languages/
* License: Apache License 2.0
*
* @package Power_Bi
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Currently plugin version.
* Start at version 1.0.1 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'POWER_BI_VERSION', '1.0.1' );
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();