Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 112966

Andrew Bartel on "Using WP_TRIM_WORDS and THE_CONTENT"

$
0
0

When you pass parameters to a function in php, you don't actually set the variable, just pass the values. Your example:
echo wp_trim_words( the_content, 20, null )

Make sense?


Viewing all articles
Browse latest Browse all 112966

Trending Articles