Last active
January 11, 2020 20:35
-
-
Save QROkes/bcf30838339aa2e8f188f290092ba21d to your computer and use it in GitHub Desktop.
Akismet SPAM Check for Question2Answer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
File: qa-plugin/webinoly-custom/qa-plugin.php | |
Description: Anti SPAM Registration Plugin for Question2Answer | |
This program is free software; you can redistribute it and/or | |
modify it under the terms of the GNU General Public License | |
as published by the Free Software Foundation; either version 2 | |
of the License, or (at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of | |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
GNU General Public License for more details. | |
*/ | |
/* | |
Plugin Name: Akismet Spam | |
Plugin URI: https://webinoly.com/support/ | |
Plugin Description: Anti SPAM Plugin for Question2Answer | |
Plugin Version: 1.0 | |
Plugin Date: 2019-06-5 | |
Plugin Author: QROkes | |
Plugin Author URI: https://qrokes.com/en/ | |
Plugin License: GPLv2 | |
Plugin Minimum Question2Answer Version: 1.8.0 | |
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_module( 'filter', 'qa-spam-akismet.php', 'qa_akismet', 'Q2A Spam Akismet' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
Thank you, where to get the "key" from ?