wpdatatables_after_table

Contents

Description

This action is called after the table is rendered on the page.

Usage

add_action( 'wpdatatables_after_table', 'after_table' );

Parameters

  • $tableId integer
    ID of the table.

Examples

// Callback function for the wpdatatables_before_render_table action hook
function after_table( $tableId ) { 
   // Check for specific table Id
   if ( $tableId == 1) { 
     // Your code
   } 
}

add_action( 'wpdatatables_after_table', 'after_table', 10 );