Docs: Correct default value in `@param` entry for the `$num_words` parameter of `wp_trim_words` filter.
Props redrambles. Fixes #40248. git-svn-id: https://develop.svn.wordpress.org/trunk@40322 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
eda002a9d5
commit
13f5d04590
|
@ -3377,7 +3377,7 @@ function wp_trim_words( $text, $num_words = 55, $more = null ) {
|
|||
* @since 3.3.0
|
||||
*
|
||||
* @param string $text The trimmed text.
|
||||
* @param int $num_words The number of words to trim the text to. Default 5.
|
||||
* @param int $num_words The number of words to trim the text to. Default 55.
|
||||
* @param string $more An optional string to append to the end of the trimmed text, e.g. ….
|
||||
* @param string $original_text The text before it was trimmed.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue