wpdatatables_after_last_row

Contents

Description

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

Usage

add_action( 'wpdatatables_after_last_row', 'after_last_row' );

Parameters

  • $tableId integer
    ID of the table.

Examples

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

add_action( 'wpdatatables_after_last_row', 'after_last_row', 10 );