wphooks.info - default_content

default_content

(trunk - 5.0-alpha-42716)

The hook occurs in the following file:

wp-admin/includes/post.php:
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
	}

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

	/**
	 * Filters the default post title initially used in the "Write Post" form.
	 *
	 * @since 1.5.0
	 *
	 * @param string  $post_title Default post title.
	 * @param WP_Post $post       Post object.
	 */