WPCF7_ConstantContact::loadpublicCF7 1.0

Метод класса: WPCF7_ConstantContact{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$WPCF7_ConstantContact = new WPCF7_ConstantContact();
$WPCF7_ConstantContact->load( $action );
$action
.
По умолчанию: ''

Код WPCF7_ConstantContact::load() CF7 6.1.6

public function load( $action = '' ) {
	if (
		'setup' === $action and
		'POST' === wpcf7_superglobal_server( 'REQUEST_METHOD' )
	) {
		check_admin_referer( 'wpcf7-constant-contact-setup' );

		if ( wpcf7_superglobal_post( 'reset' ) ) {
			$this->reset_data();
			$message = 'reset';
		}

		wp_safe_redirect( $this->menu_page_url( array(
			'action' => 'setup',
			'message' => $message ?? '',
		) ) );

		exit();
	}
}