/
qa-plugin.php
32 lines (22 loc) · 1.18 KB
/
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
27
28
29
30
31
<?php
/*
Plugin Name: Close Question
Plugin URI: https://github.com/NoahY/q2a-Close
Plugin Description: Close questions
Plugin Version: 1.0b
Plugin Date: 2011-09-05
Plugin Author: NoahY
Plugin Author URI:
Plugin License: GPLv2
Plugin Minimum Question2Answer Version: 1.4
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../../');
exit;
}
qa_register_plugin_module('module', 'qa-close-admin.php', 'qa_close_admin', 'Close Admin');
qa_register_plugin_module('event', 'qa-close-check.php','close_check','Close Check');
qa_register_plugin_layer('qa-close-layer.php', 'Close Layer');
/*
Omit PHP closing tag to help avoid accidental output
*/