AnsPress_reCcaptcha::ap_question_form_fields( array $form )
Description #
Add captcha field in question and answer form.
Parameters #
- $formarray (Required) Form arguments.
Source #
File: addons/free/recaptcha.php
public static function ap_question_form_fields( $form ) { if ( ap_show_captcha_to_user() ) { $form['fields']['captcha'] = array( 'label' => __( 'Prove that you are a human', 'anspress-question-answer' ), 'type' => 'captcha', 'order' => 100, ); } return $form; }
Expand full source code Collapse full source code View on GitHub: addons/free/recaptcha.php:96
Add your comment