LLMS_Admin_Table::filter_get_data( mixed $value, string $key, mixed $data, string $context = 'display' )
Ensures that all data requested by $this->get_data is filterable before being output on screen / in the export file.
Parameters Parameters
- $value
-
(mixed) (Required) value to be displayed
- $key
-
(string) (Required) column key / id
- $data
-
(mixed) (Required) original data object / array
- $context
-
(string) (Optional) display context [display|export]
Default value: 'display'
Return Return
(mixed)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
protected function filter_get_data( $value, $key, $data, $context = 'display' ) { return apply_filters( 'llms_table_get_data_' . $this->id, $value, $key, $data, $context, $this ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |