function gglcptch_cf_display() { return gglcptch_display(); }
function gglcptch_cf_display($error_message, $content = "") { return $content . gglcptch_display(); }
</div> <div class="form-group"> <span class="col-md-1 col-md-offset-2 text-center"><i class="fa fa-pencil-square-o bigicon"></i></span> <div class="col-md-8"> <textarea class="form-control" id="message" name="message" placeholder="Enter your massage for us here. We will get back to you within 2 business days." rows="7"></textarea> </div> </div> <div class="form-group"> <div class="col-md-12 col-md-offset-3"> <?php if (function_exists('gglcptch_display')) { echo gglcptch_display(); } ?> </div> </div> <div class="form-group"> <div class="col-md-11 text-right"> <button type="submit" class="btn btn-primary btn-lg">Submit</button> </div> </div> </fieldset> </form> </div> </div> </div>
function gglcptch_commentform_display() { if (gglcptch_check_role()) { return; } echo gglcptch_display(); return true; }
function gglcptch_cf_display($content = "") { return $content . gglcptch_display(); }
function gglcptch_test_keys() { if (isset($_REQUEST['_wpnonce']) && wp_verify_nonce($_REQUEST['_wpnonce'], $_REQUEST['action'])) { header('Content-Type: text/html'); ?> <p><?php _e('Please, complete the captcha and submit "Test verification"', 'google-captcha'); ?> </p> <?php echo gglcptch_display(); ?> <p> <input type="hidden" name="gglcptch_test_keys_verification-nonce" value="<?php echo wp_create_nonce('gglcptch_test_keys_verification'); ?> " /> <button id="gglcptch_test_keys_verification" name="action" class="button-primary" value="gglcptch_test_keys_verification"><?php _e('Test verification', 'google-captcha'); ?> </button> </p> <?php } die; }