Is there some documentation for the methods and functions present in WPDatatables?
Many of the actions and filters pass the $tableId parameter. However, I can't find any documentation on a function to retrieve the datatable object.
For example, I may be using the filter "wpdatatables_filter_cell_output" and, within that, need to read the table meta data. So I'm assuming there is a method I can call to retrieve the datatable object and then extract the table meta.
Hi,
Is there some documentation for the methods and functions present in WPDatatables?
Many of the actions and filters pass the $tableId parameter. However, I can't find any documentation on a function to retrieve the datatable object.
For example, I may be using the filter "wpdatatables_filter_cell_output" and, within that, need to read the table meta data. So I'm assuming there is a method I can call to retrieve the datatable object and then extract the table meta.
Thanks,
-Norm
Hi again Norm
At the moment we don't have any documentation on how you can get wpDataTable objects, but you can use
$wpDataTable = WPDataTable::loadWpDataTable($tableId);
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables