Title: IMPORTANT: Developers
Last modified: August 24, 2016

---

# IMPORTANT: Developers

 *  Plugin Author [leewells](https://wordpress.org/support/users/leewells/)
 * (@leewells)
 * [11 years ago](https://wordpress.org/support/topic/important-developers/)
 * Over the next few weeks I will be posting here about hooks and other methods 
   you can use to integrate this plugin within your own plugins.
 * [https://wordpress.org/plugins/super-captcha/](https://wordpress.org/plugins/super-captcha/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [leewells](https://wordpress.org/support/users/leewells/)
 * (@leewells)
 * [11 years ago](https://wordpress.org/support/topic/important-developers/#post-6116806)
 * It is very simple to use the pre-included functions of this plugin to integrate
   into your plugin.
 * Before you start, you always want to check to make sure that Super Captcha is
   installed before your plugin starts requiring functions:
 * `if(function_exists(array( &$newsupercaptcha, 'getCaptchaImage' )) : SUPER_CAPTCHA_CODE
   endif;`
 * Simply call the following function to display the captcha image:
 * `$newSuperCaptcha->getCaptchaImage()`
 * You will then need to validate the input from the user. Depending upon the form
   field you use, you will need to validate that input against:
 * `$newSuperCaptcha->validateCode( THE_INPUTTED_CODE )`
 * This will return a true or false value. True is a successful verification, false
   means the user either failed the captcha or are listed as a spammer.
 *  Plugin Author [leewells](https://wordpress.org/support/users/leewells/)
 * (@leewells)
 * [11 years ago](https://wordpress.org/support/topic/important-developers/#post-6116935)
 * **Checking user input.**
 * Like above, always make sure the plugin is installed and active:
 *     ```
       if ( $newSuperCaptcha->validateCode( $_POST['verificationfield'] ) == true && $newSuperCaptcha->pro_spam_check(  ) != true ) :
       // do something
       else:
       // throw error code
       $newSuperCaptcha->report_spam(  ); // this will let us know this is a spammer
       endif;
       ```
   
 * This example code will use both the pro features if available and standard features
   by both checking the black list and reporting to the black lists as a user fails
   the CAPTCHA.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘IMPORTANT: Developers’ is closed to new replies.

 * ![](https://ps.w.org/super-captcha/assets/icon-256x256.png?rev=1157882)
 * [Super CAPTCHA Security Suite - Hardened 3D CAPTCHA](https://wordpress.org/plugins/super-captcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/super-captcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/super-captcha/)
 * [Active Topics](https://wordpress.org/support/plugin/super-captcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/super-captcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/super-captcha/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [leewells](https://wordpress.org/support/users/leewells/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/important-developers/#post-6116935)
 * Status: not a support question