WordPress filter hook
manage_gf_pdfs_custom_column
Fired by 2 WordPress plugins, running on 900+ sites between them.
How to use manage_gf_pdfs_custom_column
It's a filter: your callback receives the value and 2 more arguments, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'manage_gf_pdfs_custom_column', function( $column_name, $item, $item2 ) {
// Change $column_name here.
return $column_name;
}, 10, 3 );Argument names come from PDF Invoice for WooCommerce + Drag and Drop Template Builder's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
2 plugins that fire manage_gf_pdfs_custom_column
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
PDF Invoice for WooCommerce + Drag and Drop Template Builder500+ installs
apply_filters( 'manage_gf_pdfs_custom_column', $column_name, $item["id"], $item )woocommerce/backend/pdf_table.php:108 -
PDF for Gravity Forms + Drag And Drop Template Builder400+ installs
apply_filters( 'manage_gf_pdfs_custom_column', $column_name, $item["id"], $item )gravityforms/pdf_table.php:120
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.