wpcf7_constant_contact_doi_register_agent()CF7 1.0

Registers wpcf7_constant_contact as an agent.

Возвращает

null. Ничего.

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

wpcf7_constant_contact_doi_register_agent();

Код wpcf7_constant_contact_doi_register_agent() CF7 5.6.2

function wpcf7_constant_contact_doi_register_agent() {
	if ( ! function_exists( 'doihelper_register_agent' ) ) {
		return;
	}

	doihelper_register_agent( 'wpcf7_constant_contact', array(
		'optin_callback' => apply_filters(
			'wpcf7_constant_contact_doi_optin_callback',
			'wpcf7_constant_contact_doi_default_optin_callback'
		),
		'email_callback' => apply_filters(
			'wpcf7_constant_contact_doi_email_callback',
			'wpcf7_constant_contact_doi_default_email_callback'
		),
	) );
}