Change Activity Filter Nav Items Text to Icon
-
Trying to add icon in place of text but html is not allowed. Any help on how to allow html here.
add_filter('bp_nouveau_get_activity_directory_nav_items', 'my_bp_nav_items_text'); function my_bp_nav_items_text($nav_items) { $nav_items['all']['text'] = __( '<i class="fas fa-at"></i>', 'buddypress' ); return $nav_items; }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.