WordPress filter hook
db_pretty_output_table_header
Fired by 4 WordPress plugins, running on 70+ sites between them.
How to use db_pretty_output_table_header
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'db_pretty_output_table_header', function( $output ) {
// Change $output here.
return $output;
}, 10, 1 );Argument names come from Debug Bar Post Types's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
4 plugins that fire db_pretty_output_table_header
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Debug Bar Post Types30+ installs
apply_filters( 'db_pretty_output_table_header', $output )inc/debug-bar-pretty-output/class-debug-bar-pretty-output.php:550 -
Debug Bar Constants20+ installs
apply_filters( 'db_pretty_output_table_header', $output )inc/debug-bar-pretty-output/class-debug-bar-pretty-output.php:550 -
Debug Bar Taxonomies10+ installs
apply_filters( 'db_pretty_output_table_header', $output )inc/debug-bar-pretty-output/class-debug-bar-pretty-output.php:550 -
Debug Bar Screen Info10+ installs
apply_filters( 'db_pretty_output_table_header', $output )inc/debug-bar-pretty-output/class-debug-bar-pretty-output.php:546
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.