wphooks.info - default_excerpt

default_excerpt

(trunk - 5.0-alpha-42716)

The hook occurs in the following file:

wp-admin/includes/post.php:
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
	$post->post_title = 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 = apply_filters( 'default_excerpt', $post_excerpt, $post );

	return $post;
}

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