forked from amiyasahu/q2a-email-notification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qa-plugin.php
27 lines (22 loc) · 950 Bytes
/
qa-plugin.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
<?php
/*
Plugin Name: Category/Tag Email Notification
Plugin URI: https://github.com/amiyasahu/q2a-email-notification
Plugin Description: Notifies a user when a new question is asked in his favorite tag or category
Plugin Version: 1.2
Plugin Date: 2014-09-15
Plugin Author: Amiya Sahu
Plugin Author URI: http://amiyasahu.com
Plugin License: MIT License
Plugin Minimum Question2Answer Version: 1.6
Plugin Update Check URI: https://raw.githubusercontent.com/amiyasahu/q2a-email-notification/master/qa-plugin.php
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../../');
exit;
}
qa_register_plugin_module('event', 'qa-email-notifications-event.php', 'qa_email_notifications_event', 'Category/Tag Email Notifications');
qa_register_plugin_phrases('language/qa-email-notification-lang-*.php', 'notify');
/*
Omit PHP closing tag to help avoid accidental output
*/