A WordPress-centric search engine for devs and theme authors



wp_trim_excerpt ›

Since2.8.0
Deprecatedn/a
apply_filters( 'wp_trim_excerpt', $text, $raw_excerpt )
Parameters: (2)
  • (string) $text The trimmed text.
    Required: Yes
  • (string) $raw_excerpt The text prior to trimming.
    Required: Yes
Defined at:
Codex:

Filters the trimmed excerpt string.





Source

return apply_filters( 'wp_trim_excerpt', $text, $raw_excerpt );