apply_filters( 'default_content', string $post_content, WP_Post $post )

Filters the default post content initially used in the “Write Post” form.

Parameters Parameters


(string) Default post content.


(WP_Post) Post object.

Top ↑

Source Source

File: wp-admin/includes/post.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.