apply_filters( ‘default_title’, string $post_title, WP_Post $post )

In this article

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

Parameters

$post_titlestring
Default post title.
$postWP_Post
Post object.

Source

$post->post_title = (string) apply_filters( 'default_title', $post_title, $post );

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

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