wpdatatables_filter_column_description_object

Contents

Description

This filter prepares the column description object to be returned as JSON to the frontend.

Usage

add_filter( 'wpdatatables_filter_column_description_object', 'filter_column_description_object', 10, 3 );

Parameters

  • $feColumn object
    Frontend column object.
  • $dbColumn array
    Array with the column config from DB.
  • $advancedSettings string
    Json string.

Examples

// Callback function for the wpdatatables_filter_column_description_object filter hook
function filter_column_description_object( $feColumn, $dbColumn, $advancedSettings ) { 
     // Your code
  
}

add_action( 'wpdatatables_filter_column_description_object', 'filter_column_description_object', 10, 3);