Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<?php $trimmed = wp_trim_words( $text, $num_words = 55, $more = null ); ?>
/*** Mô tả *************
(string) (required) Text to trim
Default: None
(integer) (optional) Number of words
Default: 55
(string) (optional) What to append if $text needs to be trimmed.
Default: '&hellip;'
Hết mô tả ***/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.