wpdatatables_filter_column_cssClassArray

Contents

Description

This filter is applied to the array of CSS classes a column has.

Usage

add_filter( 'wpdatatables_filter_column_cssClassArray', 'filter_column_cssClassArray', 10, 2 );

Parameters

  • $classes array
    Array of values.
  • $columnTitle string
    Original header of a column.

Examples

// Callback function for the wpdatatables_filter_column_cssClassArray filter hook
function filter_column_cssClassArray( $classes, $columnTitle ) { 
     // Your code

}

add_action( 'wpdatatables_filter_column_cssClassArray', 'filter_column_cssClassArray', 10, 2);