wpcf7_constant_contact_contact_post_request_builder

The contact-form-7 wpcf7 constant contact contact post request builder hook.

Published Date - July 22, 2023

Description

$request_builder_class_name = apply_filters(
		'wpcf7_constant_contact_contact_post_request_builder',
		'WPCF7_ConstantContact_ContactPostRequest'
	);

Parameters

  1. $WPCF7_ConstantContact_ContactPostRequest


Usage

The following example is for adding a hook callback.

// define the wpcf7_constant_contact_contact_post_request_builder callback 
function custom_wpcf7_constant_contact_contact_post_request_builder( $WPCF7_ConstantContact_ContactPostRequest ){ 
   //custom code here
    return $WPCF7_ConstantContact_ContactPostRequest
} 

//add the action 
add_filter('wpcf7_constant_contact_contact_post_request_builder', 'custom_wpcf7_constant_contact_contact_post_request_builder', 10, 1)

Defined

The filter is defined in the following location(s).

contact-form-7/modules/constant-contact/constant-contact.php

$request_builder_class_name = apply_filters(
		'wpcf7_constant_contact_contact_post_request_builder',
		'WPCF7_ConstantContact_ContactPostRequest'
	);