tumblr_importer_handle_error

The Tumblr Importer tumblr importer handle error hook.

Description

do_action( 'tumblr_importer_handle_error', (string) $get_blogs_403 ); 

Parameters (1)

0. $get_blogs_403 (string) => 'get_blogs_403'
The get blogs 403.

Usage

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

Defined (3)

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

/tumblr-importer.php  
  1. do_action( 'tumblr_importer_handle_error', 'get_blogs_403' ); 
  1. do_action( 'tumblr_importer_handle_error', 'response_' . $response->meta->status ); 
  1. do_action( 'tumblr_importer_handle_error', 'response_' . $response->meta->status );