• 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)
  • Thanks for the 5* review and the suggestion! Good timing actually because I’ve just finished the official WPML testing and can probably add this to the next release 🙂 all the best, Richard

Viewing 1 replies (of 1 total)

The topic ‘small suggestion’ is closed to new replies.