Developer Debug Tools icon
Developer Tools

Developer Debug Tools hooks reference

  • By PluginRx
  • v3.0.6 New
  • Updated

Developer Debug Tools 3.0.6 has 4 actions and 56 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Developer Debug Tools fires an action
add_action( 'ddtt_header_notices', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Developer Debug Tools is about to use
add_filter( 'ddtt_core_option_names', function( $core_options ) {
	// Change $core_options here.
	return $core_options;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • inc/hub/pages/tools/site-options/class-site-options.php line 181
    /**
     * Filter the list of core option names.
     */
    apply_filters( 'ddtt_core_option_names', $core_options );
  • inc/site-wide/class-site-wide.php line 295
    /**
     * Filter the Discord webhook message arguments before sending.
     */
    apply_filters( 'ddtt_fatal_discord_message_args', $args, $error );
  • inc/hub/header.php line 45
    /**
     * Fires after the plugin header but before the main content area. Intended for
     * notices like settings saved, deleted, etc.
     */
    do_action( 'ddtt_header_notices' );
  • inc/helpers/help-map.php line 385
    /**
     * Allow filtering of the map
     */
    apply_filters( 'ddtt_help_map_debug_log', $map );
  • inc/hub/pages/tools/htaccess/class-htaccess.php line 259
    /**
     * Apply filters to the snippets.
     */
    apply_filters( 'ddtt_htaccess_snippets', $snippets );
  • inc/hub/pages/dashboard/class-issues.php line 97
    /**
     * Filter the list of issues.
     */
    apply_filters( 'ddtt_issues', $issues );
  • inc/helpers/jokes.php line 38
    /**
     * Allow filtering of the joke list
     */
    apply_filters( 'ddtt_jokes', $jokes );
  • inc/hub/pages/tools/logs/class-logs.php line 303
    /**
     * Filter the paths for logs.
     */
    apply_filters( 'ddtt_log_paths', $path_data, $log_slug );
  • inc/hub/pages/tools/metadata/class-metadata.php line 87
    /**
     * Filter the UI setting keys for metadata viewer.
     */
    apply_filters( 'ddtt_metadata_ui_setting_keys', $keys );
  • inc/site-wide/class-site-wide.php line 127
    /**
     * Filter the Discord webhook message arguments before sending.
     */
    apply_filters( 'ddtt_online_users_discord_message_args', $args, $user_login, $user );
  • inc/helpers/error-messages.php line 65
    /**
     * Allow filtering of the map
     */
    apply_filters( 'ddtt_page_not_found_error_messages', $messages );
  • inc/hub/pages/tools/metadata/class-metadata.php line 147
    /**
     * Filter the protected meta keys.
     */
    apply_filters( 'ddtt_protected_meta_keys', $keys );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 628
    /**
     * Filter the security checks.
     */
    apply_filters( 'ddtt_security_checks', $checks );
  • inc/hub/pages/tools/security-checks/class-security-cron.php line 105
    /**
     * Filter why scheduled security checks are paused. Return an empty string to
     * let them run.
     */
    apply_filters( 'ddtt_security_checks_paused', $reason );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 3536
    /**
     * Filter the plugin folders treated as developer plugins.
     */
    apply_filters( 'ddtt_security_dev_plugins', [ 'query-monitor', 'debug-bar', 'wp-reset', 'fakerpress', 'wp-adminer', 'ari-adminer', 'pexlechris-adminer', 'wp-phpmyadmin-extension', 'wp-file-manager', 'file-manager-advanced', 'wp-console', 'theme-check', 'log-deprecated-notices', 'developer', 'wp-debugging' ] );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 3364
    /**
     * Filter PHP files allowed in the main WordPress folder and at the top of
     * wp-content.
     */
    apply_filters( 'ddtt_security_known_php_files', [ 'root' => [ 'index.php', 'wp-activate.php', 'wp-blog-header.php', 'wp-comments-post.php', 'wp-config.php', 'wp-config-sample.php', 'wp-cron.php', 'wp-links-opml.php', 'wp-load.php', 'wp-login.php', 'wp-mail.php', 'wp-settings.php', 'wp-signup.php', 'wp-trackback.php', 'xmlrpc.php', 'wordfence-waf.php' ], 'content' => array_merge( [ 'index.php', 'wp-cache-config.php' ], array_keys( _get_dropin... );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 2872
    /**
     * Filter the MariaDB end-of-life dates (community support end, from
     * endoflife.date).
     */
    apply_filters( 'ddtt_security_mariadb_eol', [ '10.4' => '2024-06-18', '10.5' => '2025-06-24', '10.6' => '2026-07-06', '10.7' => '2023-02-09', '10.8' => '2023-05-20', '10.9' => '2023-08-22', '10.10' => '2023-11-17', '10.11' => '2028-02-16', '11.0' => '2024-06-06', '11.1' => '2024-08-21', '11.2' => '2024-11-21', '11.3' => '2024-05-29', '11.4' => '2029-05-29', '11.5' => '2024-11-21', '11.6' => '2025-02-13', '11.7' => '2025-05-12', '11.8' =>... );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 3215
    /**
     * Filter how many administrator accounts are allowed before this check warns.
     */
    apply_filters( 'ddtt_security_max_admins', 5 );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 2904
    /**
     * Filter the MySQL end-of-life dates (from endoflife.date).
     */
    apply_filters( 'ddtt_security_mysql_eol', [ '5.7' => '2023-10-31', '8.0' => '2026-04-30', '8.1' => '2023-10-25', '8.2' => '2024-01-16', '8.3' => '2024-04-30', '8.4' => '2032-04-30', '9.0' => '2024-10-15', '9.1' => '2025-01-21', '9.2' => '2025-04-15', '9.3' => '2025-07-22', '9.4' => '2025-10-21', '9.5' => '2026-01-20', '9.6' => '2026-04-21', '9.7' => '2034-04-30', '26.7' => '2026-10-20', ] );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 1758
    /**
     * Filter the PHP end-of-life dates (security support end, from php.net).
     */
    apply_filters( 'ddtt_security_php_eol', [ '8.0' => '2023-11-26', '8.1' => '2025-12-31', '8.2' => '2026-12-31', '8.3' => '2027-12-31', '8.4' => '2028-12-31', '8.5' => '2029-12-31', ] );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 2331
    /**
     * Filter REST routes that are public by design and should not be reported.
     */
    apply_filters( 'ddtt_security_public_rest_routes', [ '/batch/v1', '/llar/v1/mfa/send-code' ] );
  • inc/helpers/helpers.php line 2141
    /**
     * Filter the date format strings used in Dev Debug Tools.
     */
    apply_filters( 'ddtt_time_format_choices', $format_strings );
  • inc/hub/pages/tools/wpconfig/class-wpconfig.php line 383
    /**
     * Apply filters to the snippets.
     */
    apply_filters( 'ddtt_wpconfig_snippets', $snippets );
  • inc/admin-area/online-users/class-online-users.php line 376 · used in 146 places
    apply_filters( 'ddtt_log_error', 'ajax_heartbeat', new \Exception( 'Failed to track activity.' ), [ 'step' => 'track_activity' ] );
  • inc/hub/pages/tools/logs/class-logs.php line 961 · used in 2 places
    apply_filters( 'ddtt_log_viewer_regex', null, $abs_path, $subsection );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 2019
    apply_filters( 'allow_minor_auto_core_updates', true );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 2019
    apply_filters( 'automatic_updater_disabled', false );
  • inc/admin-area/admin-bar/class-admin-bar.php line 323
    apply_filters( 'ddtt_admin_bar_condensed_css_icon_nodes', [ 'site-name', 'customize', 'edit', ] );
  • inc/admin-area/admin-bar/class-admin-bar.php line 307
    apply_filters( 'ddtt_admin_bar_condensed_ignore', [ 'ddtt-logs', 'my-account', 'menu-toggle', 'wp-logo', 'comments', 'updates', 'blnotifier-notify', 'query-monitor' ] );
  • inc/admin-area/admin-bar/class-admin-bar.php line 303
    apply_filters( 'ddtt_admin_bar_condensed_items', [ 'wpengine_adminbar' => 'WPE', ] );
  • inc/admin-area/admin-bar/class-admin-bar.php line 318
    apply_filters( 'ddtt_admin_bar_condensed_only_remove_ab_labels', [ 'wcagaat', ] );
  • inc/admin-area/class-admin-area.php line 329
    do_action( 'ddtt_admin_list_update_each_comment', $comment_id );
  • inc/admin-area/class-admin-area.php line 234
    do_action( 'ddtt_admin_list_update_each_post', $post_id );
  • inc/admin-area/class-admin-area.php line 115
    do_action( 'ddtt_admin_list_update_each_user', $user_id );
  • inc/admin-area/admin-bar/class-admin-bar.php line 635
    apply_filters( 'ddtt_admin_menu_special_urls', $special_urls );
  • inc/helpers/helpers.php line 1301
    apply_filters( 'ddtt_bots_to_log', [ 'Googlebot' => [ 'name' => 'Google Bot', 'url' => 'http://www.google.com/bot.html' ], 'Googlebot-Mobile' => [ 'name' => 'Google Mobile Bot', 'url' => 'http://www.google.com/bot.html' ], 'Googlebot-Image' => [ 'name' => 'Google Image Bot', 'url' => 'http://www.google.com/bot.html' ], 'Googlebot-News' => [ 'name' => 'Google News Bot', 'url' => 'http://www.google.com/bot.html' ], 'Googlebot-Vide... );
  • inc/hub/pages/tools/logs/class-logs.php line 659
    apply_filters( 'ddtt_easy_log_parse_error', null, $first, $subsection );
  • inc/hub/pages/tools/logs/class-logs.php line 805
    apply_filters( 'ddtt_error_help_search_options', [ [ 'label' => __( 'Search Google', 'dev-debug-tools' ), 'url' => 'https://www.google.com/search?q={string}', ] ] );
  • inc/hub/pages/tools/logs/class-activity.php line 133
    apply_filters( 'ddtt_highlight_activity_log', [ 'users' => [ 'name' => __( 'User-related', 'dev-debug-tools' ), 'bg_color' => '#FF6F61', 'font_color' => '#FFFFFF', ], 'posts' => [ 'name' => __( 'Post-related', 'dev-debug-tools' ), 'bg_color' => '#00A2E8', 'font_color' => '#000000', ], 'plugins' => [ 'name' => __( 'Plugin-related', 'dev-debug-tools' ), 'bg_color' => '#0073AA', 'font_color' => '#FFFFFF', ], 'themes' => [ 'name' => __( 'Theme... );
  • inc/hub/pages/tools/logs/class-logs.php line 90
    apply_filters( 'ddtt_highlight_debug_log', [ 'fatal-error' => [ 'name' => __( 'Fatal Error', 'dev-debug-tools' ), 'keyword' => 'Fatal', 'bg_color' => '#FF0000', 'font_color' => '#FFFFFF', 'priority' => true, 'column' => 'type' ], 'parse-error' => [ 'name' => __( 'Parse Error', 'dev-debug-tools' ), 'keyword' => 'Parse', 'bg_color' => '#FF0000', 'font_color' => '#FFFFFF', 'priority' => true, 'column' => 'type' ], ] );
  • inc/hub/pages/tools/inactive-users/class-inactive-users.php line 182
    apply_filters( 'ddtt_inactive_users_chunking_limit', $this->chunking_limit );
  • inc/hub/pages/tools/logs/class-logs.php line 146
    apply_filters( 'ddtt_logs_that_start_with_date_brackets', [ 'debug', 'error', 'admin-error', 'activity' ] );
  • inc/admin-area/admin-bar/class-admin-bar.php line 791
    apply_filters( 'ddtt_omit_shortcodes', [ 'cs_content', 'cs_element' ] );
  • inc/admin-area/online-users/class-online-users.php line 110
    apply_filters( 'ddtt_online_users_capability', $this->capability_to_view );
  • inc/hub/pages/tools/testing/class-testing.php line 537
    apply_filters( 'ddtt_playground_author_plugins', $defaults );
  • inc/admin-area/class-admin-area.php line 206
    apply_filters( 'ddtt_quick_link_post_types', $post_types );
  • inc/admin-area/admin-bar/class-admin-bar.php line 19
    apply_filters( 'ddtt_resources_icon', '<span class="ab-icon dashicons dashicons-book"></span>' );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 1809
    apply_filters( 'ddtt_security_admin_inactive_days', 180 );
  • inc/admin-area/admin-bar/class-admin-bar.php line 776
    apply_filters( 'ddtt_shortcode_finder_content', $content );
  • inc/hub/pages/tools/shortcodes/class-shortcodes.php line 18
    apply_filters( 'ddtt_shortcode_finder_exclude_post_types', [ 'attachment', 'revision', 'nav_menu_item', 'custom_css', 'customize_changeset', 'oembed_cache', 'user_request', 'wp_block', 'wp_template', 'wp_template_part', 'wp_global_styles', 'wp_navigation', 'cs_template', 'cs_user_templates', 'um_form', 'um_directory', 'cs_global_block', 'x-portfolio', ] );
  • inc/hub/pages/tools/shortcodes/class-shortcodes.php line 239
    apply_filters( 'ddtt_shortcode_finder_post_content', $content, get_the_ID() );
  • inc/hub/pages/tools/site-options/class-site-options.php line 501
    apply_filters( 'ddtt_site_option_prefixes', $prefixes );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 3660
    apply_filters( 'http_request_args', [ 'method' => 'GET', 'timeout' => 5, 'redirection' => 5, 'httpversion' => '1.0', 'user-agent' => 'WordPress/' . get_bloginfo( 'version' ) . '; ' . home_url( '/' ), 'reject_unsafe_urls' => false, 'blocking' => true, 'headers' => [], 'cookies' => [], 'body' => null, 'compress' => false, 'decompress' => true, 'sslverify' => true, 'sslcertificates' => ABSPATH . WPINC . '/certificates/ca-bundle.crt'... );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 3658
    apply_filters( 'https_ssl_verify', true, $url );
  • inc/hub/pages/tools/security-checks/class-security-checks.php line 1411
    apply_filters( 'xmlrpc_enabled', true );

Generated from Developer Debug Tools's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Done for you

Rather have it built for you?

Tell us what should change and we’ll write and test the code using these hooks.

Plugin customisation

from $149

New features or changed behaviour, without editing the plugin’s files.

  • Built as a companion plugin, so updates never wipe it
  • Exact quote before we start
  • Tested on staging, then deployed

Typical turnaround: 3–7 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Can't find the right hook?

We can build the customisation for you. Describe what you need: