wphooks.info - default_excerpt

default_excerpt

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/includes/post.php:
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
	$post->post_title = (string) apply_filters( 'default_title', $post_title, $post );

	/**
	 * Filters the default post excerpt initially used in the "Write Post" form.
	 *
	 * @since 1.5.0
	 *
	 * @param string  $post_excerpt Default post excerpt.
	 * @param WP_Post $post         Post object.
	 */
	$post->post_excerpt = (string) apply_filters( 'default_excerpt', $post_excerpt, $post );

	return $post;
}

/**
 * Determine if a post exists based on title, content, and date
 *
 * @since 2.0.0
 *