wpdatatables_filter_excel_editor_query

Contents

Description

This filter allows the modification of the INSERT/UPDATE query after cells have been modified in a separate database, excel-like table on the front-end.

Usage

add_filter( 'wpdatatables_filter_excel_editor_query', 'filter_excel_editor_query', 10, 2 );

Parameters

  • $query string
    The INSERT/UPDATE query.
  • $tableId integer
    ID of table from database.

Examples

// Callback function for the wpdatatables_filter_excel_editor_query filter hook
function filter_excel_editor_query( $query, $tableId ) { 
   // Your code
   return $query;
}
add_filter( 'wpdatatables_filter_excel_editor_query', 'filter_excel_editor_query', 10, 2);