Another super useful #WordPress function I'd never heard of until today: wp_trim...

@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 😅

developer.wordpress.org/refere