wpdatatables_filter_insert_table_array

Contents

Description

This filter is applied to the array which will be sent to the $wpdb->insert() method when creating and saving a new table.

Usage

add_filter( 'wpdatatables_filter_insert_table_array', 'filter_insert_table_array');

Parameters

  • $tableConfig array
    Array of values.

Examples

// Callback function for the wpdatatables_filter_insert_table_array filter hook
function filter_insert_table_array( $tableConfig ) { 
     // Your code
   
}

add_action( 'wpdatatables_filter_insert_table_array', 'filter_insert_table_array');