Last active
January 31, 2019 20:18
-
-
Save nayemDevs/882cd30161100d4ac5032179ec837193 to your computer and use it in GitHub Desktop.
icon missing
This file contains 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 | |
/* | |
- Missing icon fixing | |
- fontawesome v5 | |
- Use the code from line number 7 to 12 on your child-theme functions.php | |
*/ | |
add_filter ('dokan_get_dashboard_nav','change_icon',16); | |
function change_icon($urls){ | |
$urls['reviews']['icon'] = '<i class="fas fa-comments"></i>'; | |
$urls['reports']['icon'] = '<i class="fas fa-chart-line"></i>'; | |
return $urls; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment