-
Notifications
You must be signed in to change notification settings - Fork 10
/
qa-plugin.php
29 lines (23 loc) · 835 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
27
28
29
<?php
/*
Plugin Name: Permissions2Categories
Plugin URI: https://github.com/kfuchs/permission2categories
Plugin Description: Allows permissions to be set for categories.
Plugin Version: 1.0.
Plugin Date: 2012-12-27
Plugin Author: Kirill Fuchs
Plugin Author URI: http://codesubstance.com/
Plugin License: GPLv2
Plugin Minimum Question2Answer Version: 1.5
Plugin Update Check URI:
*/
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../../');
exit;
}
qa_register_plugin_overrides('p2c_overrides.php');
qa_register_plugin_layer('p2c_layer.php', 'Permissions 2 Categories Layer');
qa_register_plugin_module('process', 'p2c-module.php', 'p2c_category_permission', 'Permissions2Categories');
/*
Omit PHP closing tag to help avoid accidental output
*/