Change the “Enter title here” Placeholder Text

If “Enter title here” is just to boring for you, change it.

Could be especially useful for custom post types that use the title field in an untraditional manner.

add_filter( 'enter_title_here', 'change_enter_title_text', 10, 2 );
function change_enter_title_text( $text, $post ) {
        return 'The title. Don't forget to double-check your spelling before publishing.';
}

One thought on “Change the “Enter title here” Placeholder Text”

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: