Created
May 17, 2016 04:39
-
-
Save zackkatz/a31eaab2bbbdbdaa5572d9032059a1e8 to your computer and use it in GitHub Desktop.
Use UTF-8 checkmark instead of Dashicon .dashicons-yes icon font
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_filter( 'gravityview_field_tick', 'convert_gravityview_field_tick' ); | |
| /** | |
| * Convert <span> to ✓ | |
| * @param string $existing_tick HTML span with `dashicons dashicons-yes` class | |
| * @return string HTML entity checkmark character (✓) | |
| */ | |
| function convert_gravityview_field_tick( $existing_tick ) { | |
| return '✓'; // Use UTF-8 character instead of icon | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment