1. Home
  2. Docs
  3. INTERNAL API
  4. Filters reference
  5. lmfwc_table_licenses_column_value

lmfwc_table_licenses_column_value

DESCRIPTION

This filter is used to add or modify column values on the Licenses page/table.

PARAMETERS

Name Type Description
$item Array Associative array of column name and value pairs.
$column_name Array Name of the current column.
[php]add_filter('lmfwc_table_licenses_column_name', function($columns) {
  if ($column_name !== 'foo_fighters') {
    return $item;
  }
​
  $item[$column_name] = "Walk";
​
  return $item;
});[/php]

This will add the text “Walk” into the foo_fighters column.

Was this article helpful to you? Yes No

How can we help?