Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //add this code to your functions.php theme file
- //change mykey to the actual key. (If the key begin with an _ you will have two _ after name, it's normal.)
- add_filter('qwep_column_name_mykey', 'qwep_rename_column');
- function qwep_rename_column()
- {
- //replace the string with the column name you want
- return 'My column name';
- }
- //NOTE : if you want to rename several columns, copy this code many times, but change qwep_rename_column by qwep_rename_column1, qwep_rename_column2... twice each time.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement