W3cubDocs

/WordPress

apply_filters( 'default_title', string $post_title, WP_Post $post )

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

Parameters

$post_title

(string) Default post title.

$post

(WP_Post) Post object.

Source

File: wp-admin/includes/post.php

View on Trac

Changelog

Version Description
1.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/default_title