WordPress开发者和主题制作者的搜索引擎



wp_trim_excerpt ›

Since2.8.0
已弃用n/a
apply_filters( 'wp_trim_excerpt', $text, $raw_excerpt )
参数: (2)
  • (string) $text The trimmed text.
    Required: Yes
  • (string) $raw_excerpt The text prior to trimming.
    Required: Yes
定义在:
文档:

Filters the trimmed excerpt string.





源码

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