wpdatatables_enqueue_on_admin_pages

Contents

Description

This action enqueues custom JavaScript and CSS files on admin pages where wpDataTables is used.

Usage

add_action( 'wpdatatables_enqueue_on_admin_pages', 'enqueue_on_admin_pages' );

Parameters

  • No params.

Examples

// Callback function for the wpdatatables_enqueue_on_admin_pages action hook
function enqueue_on_admin_pages() { 
   // Your code
}

add_action( 'wpdatatables_enqueue_on_admin_pages', 'enqueue_on_admin_pages' );