Custom Post Type Title Placeholder [duplicate]

Yes sure you can achive that simply using enter_title_here filter hook.

    add_filter('enter_title_here', 'my_title_place_holder' , 20 , 2 );
    function my_title_place_holder($title , $post){

        if( $post->post_type == 'portfolio' ){
            $my_title = "Add new Portfolio";
            return $my_title;
        }

        return $title;

    }

error code: 523