/** * Get cell value for the active column * * @param Mapping $mapping Current mapping item * @return string HTML for the cell */ protected function column_active($mapping) { $active = $mapping->is_active(); if ($active) { return esc_html__('Active', 'mercator'); } return esc_html__('Inactive', 'mercator'); }