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.
// 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
-
/** * Filter the list of core option names. */ apply_filters( 'ddtt_core_option_names', $core_options ); -
/** * Filter the Discord webhook message arguments before sending. */ apply_filters( 'ddtt_fatal_discord_message_args', $args, $error ); -
/** * Fires after the plugin header but before the main content area. Intended for * notices like settings saved, deleted, etc. */ do_action( 'ddtt_header_notices' ); -
/** * Allow filtering of the map */ apply_filters( 'ddtt_help_map_debug_log', $map ); -
/** * Apply filters to the snippets. */ apply_filters( 'ddtt_htaccess_snippets', $snippets ); -
/** * Filter the list of issues. */ apply_filters( 'ddtt_issues', $issues ); -
/** * Allow filtering of the joke list */ apply_filters( 'ddtt_jokes', $jokes ); -
/** * Filter the paths for logs. */ apply_filters( 'ddtt_log_paths', $path_data, $log_slug ); -
/** * Filter the UI setting keys for metadata viewer. */ apply_filters( 'ddtt_metadata_ui_setting_keys', $keys ); -
/** * Filter the Discord webhook message arguments before sending. */ apply_filters( 'ddtt_online_users_discord_message_args', $args, $user_login, $user ); -
/** * Allow filtering of the map */ apply_filters( 'ddtt_page_not_found_error_messages', $messages ); -
/** * Filter the protected meta keys. */ apply_filters( 'ddtt_protected_meta_keys', $keys ); -
/** * Filter the list of recommended plugins. */ apply_filters( 'ddtt_recommended_plugins', $recommended ); -
/** * Allow filtering of the resource links */ apply_filters( 'ddtt_resource_links', $links ); -
/** * Filter the security checks. */ apply_filters( 'ddtt_security_checks', $checks ); -
/** * Filter why scheduled security checks are paused. Return an empty string to * let them run. */ apply_filters( 'ddtt_security_checks_paused', $reason ); -
/** * 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' ] ); -
/** * 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... ); -
/** * 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' =>... ); -
/** * Filter how many administrator accounts are allowed before this check warns. */ apply_filters( 'ddtt_security_max_admins', 5 ); -
/** * 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', ] ); -
/** * 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', ] ); -
/** * 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' ] ); -
/** * Filter the date format strings used in Dev Debug Tools. */ apply_filters( 'ddtt_time_format_choices', $format_strings ); -
/** * Allow filtering of the tool links */ apply_filters( 'ddtt_tool_links', $tool_links ); -
/** * Apply filters to the snippets. */ apply_filters( 'ddtt_wpconfig_snippets', $snippets ); -
apply_filters( 'ddtt_log_error', 'ajax_heartbeat', new \Exception( 'Failed to track activity.' ), [ 'step' => 'track_activity' ] ); -
apply_filters( 'ddtt_log_viewer_regex', null, $abs_path, $subsection ); -
apply_filters( 'allow_minor_auto_core_updates', true ); -
apply_filters( 'automatic_updater_disabled', false ); -
apply_filters( 'ddtt_admin_bar_condensed_css_icon_nodes', [ 'site-name', 'customize', 'edit', ] ); -
apply_filters( 'ddtt_admin_bar_condensed_ignore', [ 'ddtt-logs', 'my-account', 'menu-toggle', 'wp-logo', 'comments', 'updates', 'blnotifier-notify', 'query-monitor' ] ); -
apply_filters( 'ddtt_admin_bar_condensed_items', [ 'wpengine_adminbar' => 'WPE', ] ); -
apply_filters( 'ddtt_admin_bar_condensed_only_remove_ab_labels', [ 'wcagaat', ] ); -
apply_filters( 'ddtt_admin_bar_dropdown_links', $saved_admin_menu_items ); -
do_action( 'ddtt_admin_list_update_each_comment', $comment_id ); -
do_action( 'ddtt_admin_list_update_each_post', $post_id ); -
do_action( 'ddtt_admin_list_update_each_user', $user_id ); -
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... ); -
apply_filters( 'ddtt_easy_log_parse_error', null, $first, $subsection ); -
apply_filters( 'ddtt_error_help_search_options', [ [ 'label' => __( 'Search Google', 'dev-debug-tools' ), 'url' => 'https://www.google.com/search?q={string}', ] ] ); -
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... ); -
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' ], ] ); -
apply_filters( 'ddtt_inactive_users_chunking_limit', $this->chunking_limit ); -
apply_filters( 'ddtt_logs_that_start_with_date_brackets', [ 'debug', 'error', 'admin-error', 'activity' ] ); -
apply_filters( 'ddtt_omit_shortcodes', [ 'cs_content', 'cs_element' ] ); -
apply_filters( 'ddtt_online_users_capability', $this->capability_to_view ); -
apply_filters( 'ddtt_playground_author_plugins', $defaults ); -
apply_filters( 'ddtt_quick_link_icon', '⚡' ); -
apply_filters( 'ddtt_quick_link_post_types', $post_types ); -
apply_filters( 'ddtt_resources_icon', '<span class="ab-icon dashicons dashicons-book"></span>' ); -
apply_filters( 'ddtt_security_admin_inactive_days', 180 ); -
apply_filters( 'ddtt_shortcode_finder_content', $content ); -
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', ] ); -
apply_filters( 'ddtt_shortcode_finder_post_content', $content, get_the_ID() ); -
apply_filters( 'ddtt_site_option_prefixes', $prefixes ); -
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'... ); -
apply_filters( 'https_ssl_verify', true, $url ); -
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.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin 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 thisNot 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: