Last active
September 9, 2021 22:56
-
-
Save propertyhive/d819a0cb0203fa2d5c06d2537728510c to your computer and use it in GitHub Desktop.
Change summary length output on search results page
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('propertyhive_search_summary_length', 'shorter_summary'); | |
function shorter_summary($len) | |
{ | |
return 100; // nunber of characters to show | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment