wpdatatables_filter_browse_charts

Contents

Description

This filter is applied to the array of charts returned from MySQL when the existing charts are fetched from the database.

Usage

add_filter( 'wpdatatables_filter_browse_charts', 'filter_browse_charts');

Parameters

  • $allCharts array
    Array of charts returned from database.

Examples

// Callback function for the wpdatatables_filter_browse_charts filter hook
function filter_browse_charts( $allCharts ) { 
     // Your code
   
}

add_action( 'wpdatatables_filter_browse_charts', 'filter_browse_charts');