Hide excerpts for all WordPress posts

add_filter( 'the_excerpt', 'custom_excerpt' );
function custom_excerpt() {
    return '';
}

No comments yet.

Leave a Reply