wpdatatables_before_generate_manual_table

Contents

Description

This filter is applied to the constructed Manual Table data before the table is generated and inserted into the database.

Usage

add_filter( 'wpdatatables_before_generate_manual_table', 'before_generate_manual_table' );

Parameters

  • $tableData arrray
    The constructed table data containing the columns, name, description, and other table parameters saved in the database.

Examples

// Callback function for the wpdatatables_before_generate_manual_table filter hook
function before_generate_manual_table ( $tableData ) { 
    // Your code
    return $tableData
}

add_filter( 'wpdatatables_before_generate_manual_table', 'before_generate_manual_table');