lmfwc_table_licenses_column_value

Estimated reading: 1 minute 79 views

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.

Share this Doc

lmfwc_table_licenses_column_value

Or copy link

CONTENTS
Scroll to Top