Another super useful #WordPress function I'd never heard of until today: wp_trim...
Jeff Starr @perishable@mastodon.social
Another super useful #WordPress function I'd never heard of until today:
wp_trim_words( $text, $num_words, $more)
Does exactly what it says. I've always included a custom function to do this 😅
https://developer.wordpress.org/reference/functions/wp_trim_words/