as3cf->get_item_handler( Download_Handler::get_item_handler_key_name() ); $result = $download_handler->handle( $as3cf_item ); // If there was any kind of error, then remove from provider should not proceed. // Because this is an unexpected error, bubble it. if ( is_wp_error( $result ) ) { return $result; } } return $cancel; } }