This filter is used to change the placeholder text of the Title field whether you are using the Classic Editor version or Gutenberg version. This works in both cases. This is really useful when you are creating a Custom Post Type (CPT).
Let’s say you have a CPT called testimonials to add client testimonials in your site. But when you make the CPT the title field place holder will say “Enter title” instead maybe you wanna show “Enter Client Name” there. so you can do the following:
This filter is used to change the placeholder text of the Title field whether you are using the Classic Editor version or Gutenberg version. This works in both cases. This is really useful when you are creating a Custom Post Type (CPT).
Let’s say you have a CPT called
testimonialsto add client testimonials in your site. But when you make the CPT the title field place holder will say “Enter title” instead maybe you wanna show “Enter Client Name” there. so you can do the following: