WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Авторские Темы для WordPress
функция не описана

WPCF7_RECAPTCHA::display() public CF7 1.0

{} Это метод класса: WPCF7_RECAPTCHA{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$WPCF7_RECAPTCHA = new WPCF7_RECAPTCHA();
$WPCF7_RECAPTCHA->display( $action );
$action **
-
По умолчанию: ''

Код WPCF7_RECAPTCHA::display() CF7 5.4.1

<?php
public function display( $action = '' ) {
	echo '<p>' . sprintf(
		esc_html( __( 'reCAPTCHA protects you against spam and other types of automated abuse. With Contact Form 7&#8217;s reCAPTCHA integration module, you can block abusive form submissions by spam bots. For details, see %s.', 'contact-form-7' ) ),
		wpcf7_link(
			__( 'https://contactform7.com/recaptcha/', 'contact-form-7' ),
			__( 'reCAPTCHA (v3)', 'contact-form-7' )
		)
	) . '</p>';

	if ( $this->is_active() ) {
		echo sprintf(
			'<p class="dashicons-before dashicons-yes">%s</p>',
			esc_html( __( "reCAPTCHA is active on this site.", 'contact-form-7' ) )
		);
	}

	if ( 'setup' == $action ) {
		$this->display_setup();
	} else {
		echo sprintf(
			'<p><a href="%1$s" class="button">%2$s</a></p>',
			esc_url( $this->menu_page_url( 'action=setup' ) ),
			esc_html( __( 'Setup Integration', 'contact-form-7' ) )
		);
	}
}