How to display custom boolean meta field


In file functions.php of the current WordPress theme add next code:

Do not forget to replace meta key in the code '_my_marks' to your own one.

So instead of displaying 1 or 0 relevant icons will be displayed. Sure by CSS you can display your own icons instead.

Also read: https://posts-table.com/how-reload-meta-display-in-the-cell/