WordPress filter hook
db_pretty_output_table_body_row
Fired by 4 WordPress plugins, running on 70+ sites between them.
How to use db_pretty_output_table_body_row
It's a filter: your callback receives the value and 1 more argument, 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_body_row', function( $output, $key ) {
// Change $output here.
return $output;
}, 10, 2 );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_body_row
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_body_row', $output, $key )inc/debug-bar-pretty-output/class-debug-bar-pretty-output.php:593 -
Debug Bar Constants20+ installs
apply_filters( 'db_pretty_output_table_body_row', $output, $key )inc/debug-bar-pretty-output/class-debug-bar-pretty-output.php:593 -
Debug Bar Taxonomies10+ installs
apply_filters( 'db_pretty_output_table_body_row', $output, $key )inc/debug-bar-pretty-output/class-debug-bar-pretty-output.php:593 -
Debug Bar Screen Info10+ installs
apply_filters( 'db_pretty_output_table_body_row', $output, $key )inc/debug-bar-pretty-output/class-debug-bar-pretty-output.php:590
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.