Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to restrict PM notifications email to excerpt only

@shanebp

Moderator

@henrywright

This is a bit nicer:
$content = wp_trim_words( $content, 15 );

https://codex.wordpress.org/Function_Reference/wp_trim_words

Skip to toolbar