Replies: 0
I neeed add nofollow to link added to image or buttons column data type.
I used code below, but it is not much elegant:
add_action('ninja_table_js_config', function($tableArray, $filter){
foreach ( $tableArray['columns'] as &$setting_column ){
$setting_column['link_target'] = '_blank" rel="nofollow';
}
unset($setting_column);
return $tableArray;
}, 10, 2);
consider adding an option to column setting.