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

WPCF7_RECAPTCHA::load() public CF7 1.0

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

Хуков нет.

Возвращает

Null. Ничего.

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

$WPCF7_RECAPTCHA = new WPCF7_RECAPTCHA();
$WPCF7_RECAPTCHA->load( $action );

Код WPCF7_RECAPTCHA::load() CF7 5.3.2

<?php
public function load( $action = '' ) {
	if ( 'setup' == $action and 'POST' == $_SERVER['REQUEST_METHOD'] ) {
		check_admin_referer( 'wpcf7-recaptcha-setup' );

		if ( ! empty( $_POST['reset'] ) ) {
			$this->reset_data();
			$redirect_to = $this->menu_page_url( 'action=setup' );
		} else {
			$sitekey = isset( $_POST['sitekey'] ) ? trim( $_POST['sitekey'] ) : '';
			$secret = isset( $_POST['secret'] ) ? trim( $_POST['secret'] ) : '';

			if ( $sitekey and $secret ) {
				$this->sitekeys = array( $sitekey => $secret );
				$this->save_data();

				$redirect_to = $this->menu_page_url( array(
					'message' => 'success',
				) );
			} else {
				$redirect_to = $this->menu_page_url( array(
					'action' => 'setup',
					'message' => 'invalid',
				) );
			}
		}

		if ( WPCF7::get_option( 'recaptcha_v2_v3_warning' ) ) {
			WPCF7::update_option( 'recaptcha_v2_v3_warning', false );
		}

		wp_safe_redirect( $redirect_to );
		exit();
	}
}