Created
October 17, 2017 21:51
-
-
Save FernandoSalinas33/f2e1f7386af8db34c1082ddcd3248802 to your computer and use it in GitHub Desktop.
Change the default star rating to 5
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
//change the return value to the default number of stars you wish to display. | |
function editDefaultRating(){return 5;} | |
add_filter( 'listify_ratings_default_rating', 'editDefaultRating', 10, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment