Created
June 11, 2018 18:00
-
-
Save KaineLabs/52703399f1646593f931e3d29f8953a6 to your computer and use it in GitHub Desktop.
Change Mycred History 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
<?php | |
/** | |
* # Change Mycred History Icon | |
*/ | |
function yz_mycred_set_history_icon( $options ) { | |
// Options. | |
$option = array( | |
'yz_mycred-history_tab_icon' => 'diamond', | |
); | |
$options = array_merge( $options, $option ); | |
return $options; | |
} | |
add_filter( 'yz_default_options', 'yz_mycred_set_history_icon', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does not work. The default icon remains.