atd_http_post_error

Fires when there is a post error to AtD.

Description

add_action( 'atd_http_post_error', (string) $atd_http_post_error_action ); 

Parameters (1)

0. $atd_http_post_error_action (string) => 'AtD_http_post_error_action'
The atd http post error action.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'atd_http_post_error', $atd_http_post_error_action ); 
The following example is for adding a hook callback.
  1. // define the atd_http_post_error callback 
  2. function action_atd_http_post_error( $atd_http_post_error_action ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'atd_http_post_error', 'action_atd_http_post_error', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'atd_http_post_error', 'action_atd_http_post_error', 10, 1 ); 

Defined (1)

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

/modules/after-the-deadline.php  
  1. add_action( 'atd_http_post_error', 'AtD_http_post_error_action' );