Created
April 4, 2016 22:14
-
-
Save sunshinephotocart/34ecfb1d00b0f1d5f4b737b302702a1e to your computer and use it in GitHub Desktop.
Change favorites icon
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
add_filter( 'sunshine_action_menu', 'sunshine_favorites_custom_action_menu_icon', 90 ); | |
function sunshine_favorites_custom_action_menu_icon( $menu ) { | |
if ( isset( $menu[15] ) ) { | |
$menu[15]['icon'] = 'WHATEVER'; // See http://fortawesome.github.io/Font-Awesome/cheatsheet/ | |
} | |
return $menu; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment