Skip to content

Instantly share code, notes, and snippets.

@nayemDevs
Last active Jan 31, 2019
Embed
What would you like to do?
icon missing
<?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