MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
MPFT_Checkbox :: icon()
- String HTML for an icon representing the checked state
Returns an icon representation of the state of the checkbox, with a tick shown for checked, and a cross shown for false. This method is intended for use in the “Columns” interface in Create / Edit Post Type in MasterPress. To use this method in the Columns UI, setup a Custom column as shown below, with appropriate replacements for the set name, field name, and column title.
This results in the column being rendered in Manage Posts / Terms / Users like the following screenshot: