How to Set Default Post Title?

Modify the file named functions.php which is under your theme, add the following code at the file:

//Default Post Title
function my_default_title_filter() {
global $post_type;
if (‘post’ == $post_type) {
return ‘Eyeglasses ‘;
}
}
add_filter(‘default_title’, ‘my_default_title_filter’);

Here the default post title will be ” Eyeglasses” when you post a new¬† post.