예제 #1
0
    /**
     * Wrap the standard reCAPTCHA form field in typical BP registration form container markup.
     *
     * @since 1.0.3
     */
    public static function display_captcha()
    {
        $section_class = apply_filters('ncr_bp_register_section_class', 'register-section');
        ?>
		<div class="<?php 
        echo $section_class;
        ?>
" id="ncr-robot-check">
			<h4><?php 
        _e('Verify that you are a human.', self::$textdomain);
        ?>
</h4>
			<?php 
        parent::display_captcha();
        do_action('bp_failed_recaptcha_verification_errors');
        ?>
		</div>
		<?php 
    }