Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('cli_new_columns_to_audit_table', 'wt_add_new_column',10,1);
- function wt_add_new_column($table)
- {
- return $table .= '<th class="cookielawinfo-column-5">'.__('Cookie ID', 'cookie-law-info').'</th>';
- }
- add_filter('cli_new_column_values_to_audit_table','wt_add_new_value',10,2);
- function wt_add_new_value($ret, $custom)
- {
- $_cli_cookie_slugid = ( isset ( $custom["_cli_cookie_slugid"][0] ) ) ? $custom["_cli_cookie_slugid"][0] : '';
- return $ret.= '<td class="cookielawinfo-column-3">' . $_cli_cookie_slugid .'</td>';
- }
Add Comment
Please, Sign In to add comment