wpdatatables_before_footer

Contents

Description

This action is called before the table footer TR element is rendered on the page.

Usage

add_action( 'wpdatatables_before_footer', 'before_footer' );

Parameters

  • $tableId integer
    ID of the table.

Examples

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

add_action( 'wpdatatables_before_footer', 'before_footer', 10 );