exacttarget_dorequest_timeout
The Gravity Forms ExactTarget Add-On exacttarget dorequest timeout hook.
Description
Parameters (1)
- 0. $int (int) =>
30
- The int.
Usage
- To run the hook, copy the example below.
- $int = apply_filters( 'exacttarget_dorequest_timeout', $int );
- if ( !empty( $int ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the exacttarget_dorequest_timeout callback
- function filter_exacttarget_dorequest_timeout( $int ) {
- // make filter magic happen here...
- return $int;
- };
- // add the filter
- add_filter( 'exacttarget_dorequest_timeout', 'filter_exacttarget_dorequest_timeout', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'exacttarget_dorequest_timeout', 'filter_exacttarget_dorequest_timeout', 10, 1 );
Defined (2)
The filter is defined in the following location(s).
- /api/ExactTarget.class.php
- 'timeout' => apply_filters('exacttarget_dorequest_timeout', 30)
- 'timeout' => apply_filters('exacttarget_dorequest_timeout', 30)