-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
30 lines (25 loc) · 751 Bytes
/
index.php
File metadata and controls
30 lines (25 loc) · 751 Bytes
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
<?php
/**
* Plugin Name: Gmail Inbox Action for Wordpress
* Author: Umesh Kumar<umeshsingla05@gmail.com>
* Author URI: http://codechutney.com
* Description: Adds one click approval option for comments in Gmail
* Version: 0.1
* Text Domain : wp_gia
*/
/**
* Used for Tranlation
*/
define( 'WP_GIA_TRANSLATION_DOMAIN', 'gia_inscub' );
//Define Path constants
define( 'WP_GIA_PATH', plugin_dir_path( __FILE__ ) );
define( 'WP_GIA_APP_PATH', WP_GIA_PATH . 'app/' );
require_once( WP_GIA_APP_PATH . 'GmailInboxAction.php');
/**
* Create a instance of GmailInboxAction class
*/
function gia_initate_class() {
global $gmailinboxaction;
$gmailinboxaction = new GmailInboxAction();
}
add_action( 'init', 'gia_initate_class' );