Custom Snippet

Use this tool to share WordPress snippets with the community.

  Save Snippet
function wpb_change_title_text( $title ){
     $screen = get_current_screen();
 
     if  ( 'movie' == $screen->post_type ) {
          $title = 'Enter movie name with release year';
     }
 
     return $title;
}
 
add_filter( 'enter_title_here', 'wpb_change_title_text' );