-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathqa-plugin.php
More file actions
27 lines (21 loc) · 807 Bytes
/
qa-plugin.php
File metadata and controls
27 lines (21 loc) · 807 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
<?php
/*
Plugin Name: Message Before Asking Questions
Plugin URI: https://github.com/bahar/qa_text_before_ask
Plugin Description: Provides a way to include a predefined message/guideline to show before asking a question
Plugin Version: 1.0b1
Plugin Date: 2011-11-30
Plugin Author: Bahar
Plugin Author URI: http://askbahar.com
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('widget', 'qa-msg-before-ask.php', 'qa_msg_before_ask', 'Message To Show Before Asking Questions');
qa_register_plugin_layer('qa-msg-layer.php', 'Message Before Ask Layer');
/*
Omit PHP closing tag to help avoid accidental output
*/