atd_http_post_timeout

Change the timeout time for AtD post.

Description

add_filter( 'atd_http_post_timeout', (string) $atd_http_post_timeout_action ); 

Parameters (1)

0. $atd_http_post_timeout_action (string) => 'AtD_http_post_timeout_action'
The atd http post timeout action.

Usage

To run the hook, copy the example below.
  1. $atd_http_post_timeout_action = apply_filters( 'atd_http_post_timeout', $atd_http_post_timeout_action ); 
  2.  
  3. if ( !empty( $atd_http_post_timeout_action ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the atd_http_post_timeout callback 
  2. function filter_atd_http_post_timeout( $atd_http_post_timeout_action ) { 
  3. // make filter magic happen here... 
  4. return $atd_http_post_timeout_action
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'atd_http_post_timeout', 'filter_atd_http_post_timeout', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'atd_http_post_timeout', 'filter_atd_http_post_timeout', 10, 1 ); 

Defined (1)

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

/modules/after-the-deadline.php  
  1. add_filter( 'atd_http_post_timeout', 'AtD_http_post_timeout_action' );