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
$post->post_title = (string) apply_filters( 'default_title', $post_title, $post );
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.