wpdatatables_after_table

Contents

Description

This action is triggered after the table is rendered, allowing you to add content or perform operations just before the table HTML is output.

Usage

add_filter( 'wpdatatables_after_table', 'after_table', 10, 1 );

Parameters

  • $tableData integer
    ID of table from database.

Examples

// Callback function for the wpdatatables_after_table filter hook
function after_table($tableId) {
     if ( $tableId == 1) { 
     // Your code
   } 
}

add_filter( 'wpdatatables_after_table', 'after_table', 10, 1 );