Filters the default post title initially used in the “Write Post” form.
$post_titlestring
$postWP_Post
$post->post_title = (string) apply_filters( 'default_title', $post_title, $post );
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/default_title