Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $trimmed = wp_trim_words( $text, $num_words = 55, $more = null ); ?>
- /*** Mô tả *************
- $text
- (string) (required) Text to trim
- Default: None
- $num_words
- (integer) (optional) Number of words
- Default: 55
- $more
- (string) (optional) What to append if $text needs to be trimmed.
- Default: '…'
- Hết mô tả ***/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement