manage_ims_customers_custom_column

Description

The “manage_ims_customers_custom_column” filter is used modify the output of custom columns on the customers page.

A plugin (or theme) can modify the display with the code:

<?php add_filter( 'manage_ims_customers_custom_column', 'filter_function_name' ); ?>

The hook is located in the image-store/admin/customers/customers.php file.

Example

// Apply filter
function add_ims_customers_custom_column( $output, $column_name, $user ) {
	return 'customer custom column value';
}
add_filter('manage_ims_customers_custom_column', 'add_ims_customers_custom_column');

Note:  $output is an HTML string, $column_name is an integer or string, $user is an object returned by get_userdata();


Leave a Reply

Your email address will not be published. Required fields are marked *