How can I add in post’s the text “No content”

add_filter( 'the_content', 'check_empty_postcontent', 0, 99 ); // filter post content
add_filter( 'the_excerpt', 'check_empty_postcontent', 0, 99 ); // filter excerpt content

function check_empty_postcontent( $content ) {

    global $post;

    $post_type = get_post_type( $post->ID );

    return ( empty( $content ) && 'seriale' === strtolower( $post_type ) ) ?
        'No content available' : $content;

}

There are a lot of articles about that in the web.