Title: DockTHOR
Author: Jacek Labudda
Published: <strong>24 Μαρτίου  2026</strong>
Last modified: 24 Μαρτίου  2026

---

Αναζήτηση πρόσθετων

![](https://ps.w.org/dockthor/assets/icon-256x256.jpg?rev=3490219)

# DockTHOR

 Από [Jacek Labudda](https://profiles.wordpress.org/jacycha/)

[Λήψη](https://downloads.wordpress.org/plugin/dockthor.1.0.0.zip)

 * [Λεπτομέρειες](https://el.wordpress.org/plugins/dockthor/#description)
 * [Κριτικές](https://el.wordpress.org/plugins/dockthor/#reviews)
 * [Ανάπτυξη](https://el.wordpress.org/plugins/dockthor/#developers)

 [Υποστήριξη](https://wordpress.org/support/plugin/dockthor/)

## Περιγραφή

DockTHOR integrates WordPress with the THOR monitoring platform and automatically
reports PHP errors and uncaught exceptions.

The plugin is designed to work silently in the background and has no admin interface.
After installation you only need to configure your THOR project credentials.

### Features:

 * Automatic reporting of PHP errors and uncaught exceptions
 * Support for custom error filtering
 * Optional user context information
 * Customizable configuration via WordPress constants and filters
 * Minimal performance overhead

This plugin is intended for developers and teams who want to monitor errors occurring
in WordPress installations.

Installation

 1. Upload the plugin files to the `/wp-content/plugins/dockthor` directory, or install
    the plugin through the WordPress plugins screen.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Configure your THOR credentials in `wp-config.php`.

Example configuration:
 `php define( 'DOCK_THOR_TOKEN', 'YOUR_THOR_TOKEN' ); define('
DOCK_THOR_PRIVATE_KEY', 'YOUR_PRIVATE_KEY' ); Once configured, the plugin will automatically
begin reporting PHP errors.

Configuration

Add the following constants to your `wp-config.php` file.

### DockTHOR Token

`php
 define( 'DOCK_THOR_TOKEN', 'YOUR_THOR_TOKEN' ); \`<h3>Private Key</h3>php 
define( ‘DOCK_THOR_PRIVATE_KEY’, ‘YOUR_PRIVATE_KEY’ ); `

### Error Types (optional)

“`php
 define( ‘DOCK_THOR_ERROR_TYPES’, E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_USER_DEPRECATED);`
Define which PHP errors should be captured.<h3>Send Default PII (optional)</h3> 
If enabled, additional context such as the logged-in user and IP address will be
attached to the event.php define( ‘DOCK_THOR_SEND_DEFAULT_PII’, true ); <h3>Site
Version (optional)</h3> Define the version of your website. This can help track 
which version of the site generated an error.php define( ‘DOCK_THOR_VERSION’, ‘v1.0.0’);
<h3>Environment (optional)</h3> Define the current environment.php define( ‘DOCK_THOR_ENV’,‘
production’ ); `

Filters

DockTHOR provides several filters that allow developers to customize behavior.

### dock_thor_user_context

Allows extending the user context sent to THOR.

Example:
 `php add_filter( 'dock_thor_user_context', function ( array $user ) { 
return array_merge( $user, ['custom_meta' => 'value'] ); });

Note: These values may be exposed publicly when used in JavaScript trackers.

### dock_thor_token

Allows overriding the THOR token.

Example:
 `php add_filter( 'dock_thor_token', function ( $token ) { return 'xxxxxxxxxxxxxxxxxxxx';});
Using the DOCK_THOR_TOKEN constant is recommended instead.

### dock_thor_scope

Allows modifying the THOR scope before events are sent.

Example:
 `php add_filter( 'dock_thor_scope', function ( \Dock\Thor\State\Scope 
$scope ) { $scope->setTag('custom-tag', 'value'); return $scope; });

### dock_thor_options

Allows customizing THOR SDK options.

Example:
 `php add_filter( 'dock_thor_options', function ( \Dock\Thor\Options $options){
$options->setSampleRate(0.9); return $options; });

Advanced Usage

### High volume of notices

Some plugins generate large amounts of PHP notices. You can filter them out:
 `php
define( 'DOCK_THOR_ERROR_TYPES', E_ALL & ~E_NOTICE );

### Capturing handled exceptions

If you want to report handled exceptions:
 `php try { myMethodThatCanThrowAnException();}
catch ( \Exception $e ) { if ( function_exists( 'dock_thor_safe' ) ) { dock_thor_safe(
function ( \Dock\Thor\State\HubInterface $client ) use ( $e ) { $client->captureException(
$e ); }); } wp_die( 'An error occurred.' ); }

Frequently Asked Questions

#### Does this plugin have an admin panel?

No. DockTHOR works automatically after configuration in `wp-config.php`.

#### Will this slow down my site?

The plugin is designed to have minimal performance impact. Error events are sent
asynchronously when possible.

#### Can I disable certain errors?

Yes. You can configure the error types captured using the `DOCK_THOR_ERROR_TYPES`
constant.

## Κριτικές

Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.

## Συνεισφέροντες & Προγραμματιστές

“DockTHOR” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία
του.

Συντελεστές

 *   [ Jacek Labudda ](https://profiles.wordpress.org/jacycha/)

[Μεταφράστε το “DockTHOR” στην γλώσσα σας.](https://translate.wordpress.org/projects/wp-plugins/dockthor)

### Ενδιαφέρεστε για την ανάπτυξη;

[Περιηγηθείτε στον κώδικα](https://plugins.trac.wordpress.org/browser/dockthor/),
ανατρέξτε στο [αποθετήριο SVN](https://plugins.svn.wordpress.org/dockthor/) ή εγγραφείτε
στο [αρχείο καταγραφής αλλαγών ανάπτυξης](https://plugins.trac.wordpress.org/log/dockthor/)
μέσω [RSS](https://plugins.trac.wordpress.org/log/dockthor/?limit=100&mode=stop_on_copy&format=rss).

## Σύνοψη αλλαγών

### 1.0.0

 * Initial release.

License

The Assist For WCAG plugin is licensed under the GNU General Public License v2.0
or later (GPLv2+), as required by WordPress. This means the plugin’s source code
is open and can be modified, copied, and redistributed under the terms of the GPL.

## Μεταστοιχεία

 *  Version **1.0.0**
 *  Τελευταία ενημέρωση: **πριν από 2 μήνες**
 *  Ενεργές εγκαταστάσεις: **Λιγότερες από 10**
 *  Έκδοση WordPress: ** 5.6 ή νεότερη **
 *  Δοκιμασμένο μέχρι: **6.9.4**
 *  Έκδοση PHP: ** 7.2 ή νεότερη **
 *  Language
 * [English (US)](https://wordpress.org/plugins/dockthor/)
 * Ετικέτες:
 * [debugging](https://el.wordpress.org/plugins/tags/debugging/)[error tracking](https://el.wordpress.org/plugins/tags/error-tracking/)
   [logging](https://el.wordpress.org/plugins/tags/logging/)[monitoring](https://el.wordpress.org/plugins/tags/monitoring/)
 *  [Σύνθετη Προβολή](https://el.wordpress.org/plugins/dockthor/advanced/)

## Αξιολογήσεις

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/dockthor/reviews/#new-post)

[Δείτε όλες τις κριτικές](https://wordpress.org/support/plugin/dockthor/reviews/)

## Συντελεστές

 *   [ Jacek Labudda ](https://profiles.wordpress.org/jacycha/)

## Υποστήριξη

Έχετε κάτι να πείτε; Χρειάζεστε βοήθεια;

 [Φόρουμ υποστήριξης](https://wordpress.org/support/plugin/dockthor/)