Title: Direct PHP call/code
Last modified: August 22, 2016

---

# Direct PHP call/code

 *  Resolved [Mike-bd](https://wordpress.org/support/users/mikekharisma/)
 * (@mikekharisma)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/direct-php-callcode/)
 * I’ve got a client side custom post form and want to put a custom capthca question
   in. Your pluging seems to be the answer, but how can I call the capthca question
   directly into the form via code within a fieldset?
    The type form starts if( ‘
   POST’ == $_SERVER[‘REQUEST_METHOD’] && !empty( $_POST[‘action’] ) && $_POST[‘
   action’] == “new_post”) { and finishes with a submit input type=”submit” value
   =”Post Review” tabindex=”40″ id=”submit” name=”submit” input type=”hidden” name
   =”action” value=”new_post” php wp_nonce_field( ‘new-post’ ); if that helps Cheers
   Mike
 * [https://wordpress.org/plugins/humancaptcha/](https://wordpress.org/plugins/humancaptcha/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Outerbridge](https://wordpress.org/support/users/outerbridge/)
 * (@outerbridge)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/direct-php-callcode/#post-5190787)
 * Hi Mike
 * It isn’t really designed to work that way, but you look at hooking into the methods
   in the $obr_humancaptcha global. Please let me know how you get on.

Viewing 1 replies (of 1 total)

The topic ‘Direct PHP call/code’ is closed to new replies.

 * ![](https://ps.w.org/humancaptcha/assets/icon-256x256.png?rev=1650588)
 * [HumanCaptcha by Outerbridge](https://wordpress.org/plugins/humancaptcha/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/humancaptcha/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/humancaptcha/)
 * [Active Topics](https://wordpress.org/support/plugin/humancaptcha/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/humancaptcha/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/humancaptcha/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Outerbridge](https://wordpress.org/support/users/outerbridge/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/direct-php-callcode/#post-5190787)
 * Status: resolved