small suggestion
-
I suggest to change the cookielawinfo_edit_columns function into this:
/** Apply column names to the custom post type table */
function cookielawinfo_edit_columns( $columns ) {
$columns['cb'] = "<input type=\"checkbox\" />";
$columns['title'] = "Cookie Name";
$columns['type'] = "Type";
$columns['duration'] = "Duration";
$columns['description'] = "Description";
return $columns;
}
This way wpml can add flags columns to cookies list.
Excellent plugin btw. Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘small suggestion’ is closed to new replies.