1. David Gero
  2. GC Testimonials

Commits

David Gero  committed 07e62fd Draft

[f] add comment to the column settings

  • Participants
  • Parent commits 3d6226d
  • Branches default

Comments (0)

Files changed (1)

File testimonials.php

View file
 
 function gct_edit_columns($columns) {
 	if(!empty($columns['icl_translations'])) {	
-		$columns = array(
+        // if has icl_tanslations add tranlations column,
+        // duplicate code but without if-case can't modified
+        // position in column.  
+        $columns = array(
 			"cb" 			=> "<input type=\"checkbox\" />",
 			"title" 		=> __('Title','gc-testimonials'),
 			"icl_translations" => $columns['icl_translations'],