wpcf7_constant_contact_register_property()CF7 1.0

Registers the constant_contact contact form property.

Хуков нет.

Возвращает

null. Ничего.

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

wpcf7_constant_contact_register_property( $properties, $contact_form );
$properties (обязательный)
-
$contact_form (обязательный)
-

Код wpcf7_constant_contact_register_property() CF7 5.6.4

function wpcf7_constant_contact_register_property( $properties, $contact_form ) {
	$service = WPCF7_ConstantContact::get_instance();

	if ( $service->is_active() ) {
		$properties += array(
			'constant_contact' => array(),
		);
	}

	return $properties;
}