wpdatatables_before_create_manual_table

Contents

Description

This filter is applied to the constructed Manual Table data generated by a Table constructor before the table is finally created.

Usage

add_filter( 'wpdatatables_before_create_manual_table', 'before_create_manual_table' );

Parameters

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

Examples

// Callback function for the wpdatatables_before_create_manual_table filter hook
function before_create_manual_table ( $tableData ) { 
    // Your code
}

add_filter( 'wpdatatables_before_create_manual_table', 'before_create_manual_table');