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'


Top ↑

Return Return

(mixed)


Top ↑

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 );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.