wpseek.com
A WordPress-centric search engine for devs and theme authors



default_excerpt › WordPress Filter Hooks

Since1.5.0
Deprecatedn/a
apply_filters( 'default_excerpt', $post_excerpt, $post )
Parameters: (2)
  • (string) $post_excerpt Default post excerpt.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
Defined at:
Codex:

Filters the default post excerpt initially used in the "Write Post" form.





Source

$post->post_excerpt = (string) apply_filters( 'default_excerpt', $post_excerpt, $post );